CSOM API Update for Project Online: Cost rate table support

Steel Contributor

There is a new update of the CSOM API for SharePoint and Project Online available:

https://dev.office.com/blogs/new-sharepoint-csom-version-released-for-Office-365-january-2017

 

There is now support for cost rate tables more or less similar to the PSI functionality:

Microsoft.ProjectServer.Client

Following properties, classes and methods have been added.

  • public class Microsoft.ProjectServer.Client.CostRateCreationInformation
  • public enum Microsoft.ProjectServer.Client.CostRateTableName
  • public property Microsoft.ProjectServer.Client.DraftAssignment.CostRateTable
  • public property Microsoft.ProjectServer.Client.EnterpriseResource.CostRateTables
  • public class Microsoft.ProjectServer.Client.EnterpriseResourceCostRate
  • public class Microsoft.ProjectServer.Client.EnterpriseResourceCostRateCollection
  • public class Microsoft.ProjectServer.Client.EnterpriseResourceCostRatePropertyNames
  • public class Microsoft.ProjectServer.Client.EnterpriseResourceCostRateTable
  • public class Microsoft.ProjectServer.Client.EnterpriseResourceCostRateTableCollection
  • public class Microsoft.ProjectServer.Client.EnterpriseResourceCostRateTableObjectPropertyNames
  • public class Microsoft.ProjectServer.Client.EnterpriseResourceCostRateTablePropertyNames

  • public class Microsoft.ProjectServer.Client.PageSizes
  • public class Microsoft.ProjectServer.Client.PageSizesPropertyNames
  • public property Microsoft.ProjectServer.Client.ProjectContext.PageSizes

  • public property Microsoft.ProjectServer.Client.PublishedAssignment.CostRateTable

 

4 Replies

That's great, but excuse me, what about on-premise msp 2016?

As far as I know Project Server 2016 is out of scope for this...

In June SU MS has updated the client library for on-premise in order to support Cost rate table support

 

https://support.microsoft.com/en-us/help/4022173/description-of-the-security-update-for-sharepoint-e...

 

Now you can use Microsoft.ProjectServer.Client.dll with Enterprise Resources Cost rates.

@Carlos GarcíaCan i access resource cost table in Project server 2019 on premises. Is there any code available using CSOM which mention any hint to access the resource cost table data? Please suggest.