Skip to main content

Posts

Showing posts from October, 2010

How to add a custom visual studio workflow to SharePoint designer

This article explains step by step guide line to add a custom visual studio work flow to the SharePoint designer. In here I'm using   VS 2010 and SharePoint 2010. Create  a Empty Sequence Work Flow project. then select .Net Framework 3.5 and select the Sequential Workflow Project.   in this sample we are going to add custom string functionality to the SharePoint designer. after creating the project you will get a blank activity as follows. then delete that activity and add the Activity item to the project as above. I named that as subStringAfterText.cs after that you will get a blank Sequence Activity. Add references to the Project After that you need to add Microsoft.SharePoint.dll and Microsoft.SharePoint.WorkflowActions.dll to the project. those dlls can be found in the following paths. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\Microsoft.SharePoint.dll C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14