Forum Discussion
CSOM API Update for Project Online: Cost rate table support
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
- Aleksey MelkorCopper Contributor
That's great, but excuse me, what about on-premise msp 2016?
- Carlos GarcíaCopper Contributor
In June SU MS has updated the client library for on-premise in order to support Cost rate table support
Now you can use Microsoft.ProjectServer.Client.dll with Enterprise Resources Cost rates.
- Raman1412Copper Contributor
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.
- Trutz_StephaniSteel ContributorAs far as I know Project Server 2016 is out of scope for this...