context.EnterpriseResources.Update Taking time RRS feed

  • Question

  • Hi All,

    I have some experience in Project Server Development. However, I am not able to understand the below and what it does:


    My Guess is as follows: 

    1. it goes and updates the whole collection of resources ? If so then is there a way to update only single resource data using CSOM?
    2. If this is what is updating the Resources then what is the need for the ER.CustomFields.Update()

    Now, In my case i am running a console app which is updating the resource level custom fields for all resources periodically, while doing so I have to execute "_context.EnterpriseResources.Update(); " line for each resource to update. Which is taking too much time to update. Is there other way to update Resources as i can not find any documentation to update the custom fields.

    PS: Missing old days where life was simple and we could do plenty of things with the ASMX i.e. Creating and setting the Project manager at the same time

    Thanks, Parth

    • Edited by Parth Rawal Friday, October 6, 2017 8:22 AM
    Thursday, October 5, 2017 11:04 AM