What are the steps to a deploy a workflow WSP file in SharePoint?

The workflows that are created using the SharePoint Designer are available as a WSP file in the Site Assets document library, the file can be downloaded from here and deployed to another server using the steps mentioned below:
  1. Downloading the WSP file
    1. Go to the Site Settings of the top level site of the site collection
    2. Under the All Contents section select the document library Site Assets
    3. There the name of the workflow will be displayed, click on the context menu and select Send To - Download a Copy, select the location where the file needs to be downloaded and save it
  2. Uploading the WSP file
    1. Go to the Site Settings page of the top level site in the site collection where you need to upload the file
    2. Select Galleries - Solution, this will open up the list of the solutions that are already there in the site collection
    3. From the ribbon select the command button Upload Document, point to the WSP file already saved and upload the file
    4. Once the file has been uploaded, click on the link Activate from the context menu. This will make the workflow available as feature in all the sites under the site collection, however this does not activate the workflow
  3. Activating the workflow feature in the site
    1. In order to activate the workflow to be used within the site go to the Site Settings page
    2. Go to the Manage Site Features section and click on the Activate button displayed beside the workflow name, now the workflow is ready to be used within the site

Comments

Popular posts from this blog

jQuery Basics

What is the difference between a Page Layout and Master Page in SharePoint?

Accessing data from SharePoint 2010 to an ASP.NET application