PS.ProjectContext.entityTypes property (ps.js)

Gets the collection of entity types that are exposed through the CSOM for the Project Web App instance.

Applies to: Project Professional 2013 | Project Server 2013

var value = PS.ProjectContext.get_entityTypes()

Return value

A collection of EntityType objects.


Entity types include projects, enterprise resources, tasks, assignments, custom fields, and so on.