0

I found no properties nor any method for setting the standard rate of an EnterpriseResource for Project Server 2013 with C# and CSOM. Searching online I didn't find anything specific on enterprise resources, standard rate, and CSOM. Does anybody know how to set the standard rate for an enterprise resource?

Cheers.

  • Have you tried looking in EnterpriseResource.CustomFIelds or EnterpriseResource.FieldValues. Just a hunch – Mike Aug 24 '16 at 14:13
  • @Mike thanks for the tip. Unfortunately CustomFields and FieldValues are specific to custom fields that have values set for the resource (according to MSDN). Unfortunately, the standard rate is not a custom field and, in my case, neither has its value set for the resource (being the resource a new one). – Gentian Kasa Aug 24 '16 at 15:00
  • 1
    You may have to use the web service PSI, modifying a dataset and going from there: msdn.microsoft.com/en-us/library/office/gg203009.aspx – Mike Aug 24 '16 at 15:14
  • 1
    @Mike, yeah, I guess it's the only way. The only question and answer I found go in the PSI direction. – Gentian Kasa Aug 25 '16 at 8:54
1

Like I mentioned in my comment, the property you are trying to set may not be available via client side. You may have to use the web service PSI, modifying a dataset and going from there: http://msdn.microsoft.com/en-us/library/office/gg203009.aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.