Friday, May 27, 2011

Viewing SharePoint Designer workflows in Source view/Xml view

If you ever need to duplicate a List-based workflow across multiple site collections, in all likelihood, you do not wish to re-create each workflow on each site collection completely from scratch using the User Interface Designer.

Fortunately, you can perform a copy/paste operation of the workflow on the individual site collections by accessing the source view for the workflow.

You can accomplish this through SharePoint Designer in the following manner:

  1. Open the Site you wish to access in SharePoint Designer
  2. Beneath Site Objects in the left hand navigation pane, click on All Files
  3. In the All Files view, click on the Workflows folder
  4. Find the name of the workflow you wish to view and click on the name
  5. You should now be able to view the various files associated with your workflow such as the .xoml and .xoml.wfconfig.xml files
  6. Click on the .xoml.wfconfig.xml file to open the SharePoint workflow in source code view
  7. Once the Workflow displays, you should see a section titled Customizations
  8. Beneath that heading, you should find a link for Edit File
  9. Click on that link to edit the file in xml view/source code view
  10. Now you can easily copy and paste the source code to your respective target site collection!

No comments:

Post a Comment