none
Is it feasible to create a PDP page programatically RRS feed

  • Question

  • Hi ,

    I have  project requirement where it seems that we need to create a new page programatically, want to know if it is feasible and if yes then how can I achieve that.

    Also if it is not feasible then we need to create a webpart meeting our project requirement, want to know how can I disable/override the save , edit and close button that comes on ribbon.

     

     


    Vinay Gupta
    Wednesday, July 27, 2011 7:11 AM

Answers

  • I would suggest to download Project 2010 SDK or PS 2010 Solution starter & see the samples, You will get the PSI Extension & ListProject sample. You can see how the PSI extension is created. (ListProjects and ListProject_Sorting show how to use the ListProjects PSI extension in a Project Server Web Part that uses the JS Grid control.) http://www.microsoft.com/download/en/details.aspx?id=15511 http://archive.msdn.microsoft.com/P2010SolutionStarter http://msdn.microsoft.com/en-us/library/ff843379.aspx Once you have the PSIExtension in solution, You can add http://localhost/pwa/_vti_bin/PSI/ListProjects.svc as a serviceref in your solution.
    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
    Wednesday, July 27, 2011 9:01 AM

All replies

  • Hi Vinay,

    1. A PDP represents a single Web Part Page in Project Web App. PDPs can be used to display or collect information from the user. You can create PDPs in much the same way you create any Web Part Page in a SharePoint site, where you can add Web Parts that provide the experience you want. You can add individual Web Parts from the standard Web Part galleries or create custom Web Parts.
    Look at the samples:
    http://msdn.microsoft.com/en-us/library/ff951237.aspx

    2. You can modify the ribbon. Please readthe below article:
    http://msdn.microsoft.com/en-us/library/gg549101.aspx
    http://msdn.microsoft.com/en-us/library/gg549101.aspx#pj14_ModifyPWARibbon_CloseButton

    Hope that helps.


    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
    Wednesday, July 27, 2011 8:03 AM
  • Hi Amit,

    Thanks for all the reply.

    I have gone through this link earlier as well, I am facing problem in step 3 (Add a service reference to the PSI extension (http://localhost/pwa/_vti_bin/PSI/ListProjects.svc) and not able to proceed from there.

    I am not able to add the reference of this webservice. Any suggestion.


    Vinay Gupta
    Wednesday, July 27, 2011 8:39 AM
  • I would suggest to download Project 2010 SDK or PS 2010 Solution starter & see the samples, You will get the PSI Extension & ListProject sample. You can see how the PSI extension is created. (ListProjects and ListProject_Sorting show how to use the ListProjects PSI extension in a Project Server Web Part that uses the JS Grid control.) http://www.microsoft.com/download/en/details.aspx?id=15511 http://archive.msdn.microsoft.com/P2010SolutionStarter http://msdn.microsoft.com/en-us/library/ff843379.aspx Once you have the PSIExtension in solution, You can add http://localhost/pwa/_vti_bin/PSI/ListProjects.svc as a serviceref in your solution.
    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
    Wednesday, July 27, 2011 9:01 AM