Wednesday, April 25, 2007

Strange workflow error - visual studio - Error 319 (0x13F)

Using Visual Studio.NET 2005 we're trying to create a new workflow. However, we get a strange error in VS.Net 2005 as outlined below:

Error 4 Property 'WorkflowProperties' has invalid value. Field type 'Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties' does not match with the expected type 'Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties'.

Any hints, ideas etc?

Workflow error codes can be found on MSDN, but little information about how to fix them.

I also get the error as outlined below:

Could not bind property 'WorkflowProperties'
Could not load file or assembly 'Microsoft.SharePoint.Library, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.

I'm also trying to update VS.Net 2005 with "Windows Workflow Foundation Extensions for Visual Studio 2005" as outlined in various guidelines. However, it seems that Microsoft has renamed the tool - at least I cannot find the latest released on MSDN. I often wonder why it has to be soooooooo difficult.

Saturday, April 21, 2007

Reorder properties in Document Libraries

I have tried to modify the sequence of properties in a document library and luckily I found the following excellent blog describing how to accomplish the result using the ProcessBatchData.

Sunday, April 15, 2007

Controlling MOSS Document templates

It's a pleasure to leverage others work - rather than having to re-invent the wheel myself all the time.

Ton Stegeman has written an excellent blot about how to control MOSS document templates programmatically. Thanks you.

Monday, April 02, 2007

SPFieldUser with default value

Ton Stegeman provides a lot of valuable information on his blog. Refer to this note on how to create a custom SPFieldUser that defaults to the current active user.