locked
Deploying a VS 2010 project with an attached workflow to a SharePoint 2010 site. RRS feed

  • Question

  • Hey everyone,

    I'm working on a deployment package concept where I have a Visual Studio 2010 solution that contains 2 projects.  They are just basic lists that deploy to a SharePoint 2010 site.  I also created a very basic reusable workflow in SharePoint designer that is nothing more than the title of the workflow and a description.  I'm also able to import the workflow into the solution but I'm not sure how to attach this workflow to one of my lists.  I tried opening the package.package file and moved the workflow over to the "Items in the Package" and set the activation dependency but when I deploy this solution to the SharePoint site, the work flow isn't attached to the list and it also isn't available as a workflow template anywhere.  Would one of you be able to provide some info on this subject?  Thank you in advance, Shaun    

    Friday, December 16, 2011 9:05 PM

Answers

  • Hi,

    Please find the links below which updates you how to import the reusable workflow from Sharepoint designer to Visual
    Studio 2010.

    http://msdn.microsoft.com/en-us/library/ee231580.aspx

    https://www.nothingbutsharepoint.com/sites/devwiki/articles/Pages/Options-for-Deploying-Reusable-Workflows-SharePoint%C2%A02010.aspx


    Regards, Dharnendra Shah "strong belief is the only way to success"
    • Marked as answer by Shimin Huang Friday, December 30, 2011 6:23 AM
    Saturday, December 17, 2011 5:26 AM

All replies

  • Hi,

    Please find the links below which updates you how to import the reusable workflow from Sharepoint designer to Visual
    Studio 2010.

    http://msdn.microsoft.com/en-us/library/ee231580.aspx

    https://www.nothingbutsharepoint.com/sites/devwiki/articles/Pages/Options-for-Deploying-Reusable-Workflows-SharePoint%C2%A02010.aspx


    Regards, Dharnendra Shah "strong belief is the only way to success"
    • Marked as answer by Shimin Huang Friday, December 30, 2011 6:23 AM
    Saturday, December 17, 2011 5:26 AM
  • Cool thanks Dharnendra, that website very helpful. 

    Have a good day,

    Shaun 

    Monday, December 19, 2011 2:19 PM