locked
Is there an Odata Query to retrieve the list of field names used in a PDP? RRS feed

  • Question

  • I am trying to create a report that displays all the fields used in PDPs to ensure they are all used

    This query returns all the custom fields, is there a similar one for PDPs?

    <a href="https://.sharepoint.com/sites/pwa/_api/ProjectServer/CustomFields">https://<mysite>.sharepoint.com/sites/pwa/_api/ProjectServer/CustomFields


    Friday, March 29, 2019 9:43 PM

Answers

  • Hello,

    Unfortunately not, you can only get a list of the PDPs etc. using this endpoint ProjectServer/ProjectDetailPages. You could use the OData Reporting API to get a list of all field values for the project or projects:

    all projects: /_api/ProjectData/Projects

    one project: /_api/ProjectData/Projects(guid'{projectGUID}')

    Hope that helps

    Paul


    Paul Mather | Twitter | http://pwmather.wordpress.com | CPS | MVP | Downloads

    Sunday, March 31, 2019 7:48 AM