none
Project Server 2010 URL from in Workflow RRS feed

Answers

All replies

  • Assuming custom workflow is being developed in Visual Studio

    You can include the Microsoft.Sharepoint and Query the SPContext.Current.Web to get the URL, is that what you are looking for ?


    Thanks | Sunil Kr Singh | http://epmxperts.wordpress.com



    Friday, October 18, 2013 4:43 PM
    Moderator
  • Based on my other answers, I don't think so... I need to make the connection between SPContext and WorkflowContext.  The workflow does not know about SPContext...
    Tuesday, October 22, 2013 7:25 PM
  • Not sure, if i am understanding correctly but intially you mentioned you needed to get the PWA URL location in workflow, i can simply reference the SPContext and get the URL and then form my PWA URL, since project server workflows are site workflows, they will have a sharepoint context and hence, i just tried it in my VM within smaple proposal and it seems it allows you to

    Let me know, if i am missing something here


    Thanks | Sunil Kr Singh | http://epmxperts.wordpress.com

    Tuesday, October 29, 2013 3:28 PM
    Moderator
  • I was able to get it from the workflowProperties.CurrentUrl property and it worked.  Thanks!

    David L. Crooks

    Tuesday, October 29, 2013 4:22 PM