none
Has Anybody Created a custom Project Fields web part? RRS feed

  • Question

  • Hi All,

         Anybody created a custom project fields web part for PDP? Our client is having a lot of concerns over the look and feel and working of project fields web part. What are the possibilities and challenges? Can we link two project level custom fields in such a way that selecting one project field filters out values in second custom fields?

     

    Regards
    Adil


    From Microsoft Forums
    Friday, November 4, 2011 10:46 AM

Answers

  • Yes, We can do so.  We could trap the Save button event by creating an Elements.xml file with a CommandUIHandler for the SaveProject Command.

    One of my good friend who has written an excellent blog contains the code. Please see if that helps.

    http://blogs.msdn.com/b/husainzgh/archive/2011/08/01/hooking-into-the-project-detail-page-ribbon-save-button-without-overriding-out-of-box-functionality-in-project-web-access-for-project-server-2010.aspx
    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
    • Marked as answer by Adil Hussain Friday, November 11, 2011 10:44 AM
    Friday, November 11, 2011 10:18 AM
  • Hi Adil,

    I am currently working on the similar requirement where the custom fields need to be put on a page with a sepcific layout. I have created a visual web part using Visual studio 2010 & add this in new Project detail page. I have looked into the PDP customization in Solution starter as a starter.
    Once the project fields are updated by PM, a Project web service is called toi Update project data in Working store.
    Regarding the other requirement, You can do it if you are using your own web part instead of out of box project fields web part.

    Hope that helps.
    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
    • Marked as answer by Adil Hussain Friday, November 11, 2011 10:45 AM
    Friday, November 11, 2011 9:43 AM

All replies

  • Hi Adil,

    I am currently working on the similar requirement where the custom fields need to be put on a page with a sepcific layout. I have created a visual web part using Visual studio 2010 & add this in new Project detail page. I have looked into the PDP customization in Solution starter as a starter.
    Once the project fields are updated by PM, a Project web service is called toi Update project data in Working store.
    Regarding the other requirement, You can do it if you are using your own web part instead of out of box project fields web part.

    Hope that helps.
    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
    • Marked as answer by Adil Hussain Friday, November 11, 2011 10:45 AM
    Friday, November 11, 2011 9:43 AM
  • Hi Amit,

               Thanks for the tip. That means I can use the source of PDP customization achieve my requirements because I do have other requirements which will require customized PDP web part. Just a quick clarification, Can I also catch Save button (on Ribbon) event in custom web part as it works in the Project Fields OOB web part?

    Thanks and Regards
    Adil


    From Microsoft Forums
    Friday, November 11, 2011 9:58 AM
  • Yes, We can do so.  We could trap the Save button event by creating an Elements.xml file with a CommandUIHandler for the SaveProject Command.

    One of my good friend who has written an excellent blog contains the code. Please see if that helps.

    http://blogs.msdn.com/b/husainzgh/archive/2011/08/01/hooking-into-the-project-detail-page-ribbon-save-button-without-overriding-out-of-box-functionality-in-project-web-access-for-project-server-2010.aspx
    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
    • Marked as answer by Adil Hussain Friday, November 11, 2011 10:44 AM
    Friday, November 11, 2011 10:18 AM
  • Thanks alot Amit,

              The procedure is not straight forward although i was expecting it to be very simple. But it looks that somehow we can achieve our requirement other than the out of the box way. Thanks a lot for the help. Will bother you again in case :)

    Regards
    Adil


    From Microsoft Forums
    Friday, November 11, 2011 10:44 AM
  • You are welcome :) Adil.

    Please feel free to post your question. I am expecting to complete my code in next 2 weeks & will post the sample code on my blog.
    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
    Friday, November 11, 2011 11:08 AM