PS.CustomFieldCollection object (ps.js)

Represents a collection of custom fields.

Applies to: Project Professional 2013 | Project Server 2013

PS.CustomFieldCollection

Members

Methods

The CustomFieldCollection object has the following methods.

Method

Description

add

Adds a new custom field to the collection of custom fields.

getByAppAlternateId

getByGuid

getById

itemAt

remove

update

Properties

The CustomFieldCollection object has the following properties.

Property

Description

childItemType

This member is reserved for internal use and is not intended to be used directly from your code.

item

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/ProjectServer/CustomFields

HTTP requests

This resource supports the following HTTP commands:

GET syntax

GET http://<sitecollection>/<site>/_api/ProjectServer/CustomFields

POST syntax

POST http://<sitecollection>/<site>/_api/ProjectServer/CustomFields

See also

Reference

Microsoft.ProjectServer.Client.CustomFieldCollection