none
Read project detail using API RRS feed

  • Question

  • Hello

    I have two SharePoint environments. In one Project Server is running while in another it's just SharePoint. Let's call these environments `PSE` and `SPE` respectively.

     So I am in SPE and trying to read project detail from PSE using API. Problem is there are many Enterprise Custom Fields such as Sponsor Name, Sponsor Units, Stakeholders Units etc. defined in PSE for which no data is being displayed in the API.

     I have tried the following but it is not showing value of these fields.

         http://PSE/PWA/_api/ProjectServer/Projects('abcdefgh-dc63-e811-810f-0050568b6b32')/IncludeCustomFields

         http://PSE/PWA/_api/ProjectData/Projects('abcdefgh-dc63-e811-810f-0050568b6b32')/?$select=StakeHoldersUnit

         http://PSE/PWA/_api/ProjectData/Projects(guid'abcdefgh-dc63-e811-810f-0050568b6b32')

     I am checking these URLs in IE and they are displaying other standard fields like project title, owner, creation date etc. but not the fields which I mentioned above. So I wanted to ask if it is because that enterprise custom fields are actually not available this way in API?
     
     Any other way to read that data? I have full access on both environments. Please ignore any formatting issues as I am typing from mobile.
    Sunday, November 24, 2019 5:23 PM

All replies

  • Hi Read project detail using API,

    This forum mainly discusses SharePoint development issues, your issue is focused on Project Server Rest API. Hence we suggest you re-raise this issue on Project Server Forum, our specialized group will help further. 

    Thanks 
    Baker Kong

    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click  here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.


    Monday, November 25, 2019 5:56 AM