none
Getting values of Project actual duration, actual start date and actual finish date using CSOM RRS feed

  • Question

  • Hi,

    How can we get following values from project online using CSOM

    • ProjectActualDuration
    • ProjectActualStartDate
    • ProjectActualFinishDate

    Thanks



    Himanshu

    Tuesday, June 30, 2015 7:41 AM

All replies

  • Himanshu,

       I'm sure you know that this is pretty straight forward if you have access to the api_/ProjectData feed: 

    https://<YourTenant>.sharepoint.com/sites/pwa/_api/ProjectData/Projects?$select=ProjectName, ProjectActualDuration,ProjectActualStartDate,ProjectActualFinishDate

    However not all users have access to the ProjectData feed and if you are using CSOM this is based on the _api/ProjectServer REST interface which AFAIK does not have the summarised data you are looking for.  (Happy to be corrected on this point!)

    It is possible to use CSOM go and retrieve the tasks individually and sum them up yourself, but this would be hard work and error prone.  Recommend using the ProjectData feed for this particular task.

    Cheers,

       James.


    James Boman BSc. MCP:EAD -

    Tuesday, July 14, 2015 12:32 AM