locked
Project Server 2010 Webpart for Project Detail Pages RRS feed

  • Question

  • Hello,

    I do have a requirement where I need to develop a Project Server Web Part to show some calculated project information based on some business rule from Reporting database.

    That webpart I have to add in Project Detail Pages to show calculated project information for the Project I have selected/clicked from Project Center.

    So please tell me how can I link my webpart with ProjUID in URL like "PWA/Project%20Detail%20Pages/ProposalStageStatus.aspx?ProjUid=2b24d36b-7796-4789-ada3-d895d218fc14"

    So that it shows data corresponding to opened project in Project Server.

    Thanks and let me know in case have any doubts in understanding the requirement.

    Monday, December 16, 2013 1:36 PM

Answers

  • Hi YLee_1980,

    If I understand your requirement correctly then you can use ProjUID querystring paramater to get specific ProjectUID like below

     HttpContext.Current.Request.QueryString["ProjUid"];

    Then after getting ProjectUID you can use it anywhere in your SQL query, PSI method calling etc etc.

    Also you can look into PS 2010 Solution Starter custom solutions Kit to enhance your knowledge on PS 2010 development. That would a great starting point.

    Thanks much hope this will help


    Sachin Vashishth MCTS


    • Edited by Sachin Vashishth Friday, December 20, 2013 7:09 AM
    • Marked as answer by YLee_1980 Sunday, December 22, 2013 11:51 AM
    Friday, December 20, 2013 7:08 AM

All replies

  • Hi YLee_1980,

    If I understand your requirement correctly then you can use ProjUID querystring paramater to get specific ProjectUID like below

     HttpContext.Current.Request.QueryString["ProjUid"];

    Then after getting ProjectUID you can use it anywhere in your SQL query, PSI method calling etc etc.

    Also you can look into PS 2010 Solution Starter custom solutions Kit to enhance your knowledge on PS 2010 development. That would a great starting point.

    Thanks much hope this will help


    Sachin Vashishth MCTS


    • Edited by Sachin Vashishth Friday, December 20, 2013 7:09 AM
    • Marked as answer by YLee_1980 Sunday, December 22, 2013 11:51 AM
    Friday, December 20, 2013 7:08 AM
  • Thanks Sachin, that what I was looking for.
    Sunday, December 22, 2013 11:51 AM