

In SharePoint Designer 2010, on the menu bar, choose File > New Blank Web Site. Microsoft Office SharePoint Designer 2010.įirst you create two new SharePoint subsites: one to host the reusable workflows from SharePoint Designer, another to host the converted workflows. Supported editions of Microsoft Windows and SharePoint. You need the following components to complete this walkthrough: For more information, see Personalize the IDE. The Visual Studio edition that you have and the settings that you use determine these elements. Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. Using the imported workflow in a SharePoint site. wsp file into Visual Studio by using the Import Reusable Workflow project.

This walkthrough demonstrates the following tasks:Ĭreating a simple, reusable workflow in SharePoint Designer.Įxporting the SharePoint Designer reusable workflow to a. Visual Studio allows you to import reusable workflows created in SharePoint Designer 2010 and convert them to code workflows for use in your SharePoint sites.

Code workflows consist of XML files and code modules in which users can customize the workflow's behavior. Workflows created in Visual Studio 2012, such as sequential and state machine workflows, are called code workflows. SharePoint Designer 2010 introduces reusable workflows, which are portable, declarative workflows that can be used by different lists in SharePoint sites. Workflows created in SharePoint Designer, or declarative workflows, consist of XML statements instead of code. This walkthrough demonstrates how to import a reusable workflow created in SharePoint Designer 2010 into a Visual Studio SharePoint workflow project. Applies to: Visual Studio Visual Studio for Mac Visual Studio Code
