SharePoint 2010 Workflow Solution to import SharePoint Designer Reusable Workflow vs

Source: Internet
Author: User
Tags visual studio visual studio 2010

Import a SharePoint Designer reusable workflow into Visual Studio

Workflows created in SharePoint Designer (that is, declarative workflows) consist of XML statements, not code. SharePoint Designer 2010 introduces reusable workflows, which are portable, declarative workflows that can be used by different lists in a SharePoint site.

Workflows created in Visual Studio 2010, such as sequential workflows and state machine workflows, are called code workflows. Code workflows consist of XML files and code modules that allow users to customize the behavior of workflows in these files and modules.

With Visual Studio 2010, you can import reusable workflows created in SharePoint Designer 2010 and convert them to code workflows for use in SharePoint sites.

To create a destination SharePoint subweb

First create two new SharePoint subwebs: one to host reusable workflows from SharePoint Designer, and the other to host converted workflows.

1. In SharePoint Designer 2010, click Open Site on the File menu.

2. In the Open web dialog box, browse to the SharePoint site where you want to create the workflow, or use the default value to http://the system name/, and then click Open.

5. In the Specify your site location box, replace the term "subsite" in the URL with SPD1, and then click OK.

This will open a new subweb in SharePoint Designer. Close this SharePoint Designer instance and return to the first instance (primary site).

6. Repeat steps 3 through 5 to create a second subweb, which will replace the term "subsite" in the URL with SPD2.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.