SP.FieldLinkCollection object
Represents a collection of SP.FieldLink objects that are column or field references in a content type.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.FieldLinkCollection()
Members
The FieldLinkCollection object has the following members.
Constructor
The FieldLinkCollection object has the following constructor.
Constructor |
Description |
---|---|
Initializes a new instance of the SP.FieldLinkCollection object. |
Methods
The FieldLinkCollection object has the following methods.
Method |
Description |
---|---|
Adds a content type field reference to the collection. |
|
Gets the column or field reference at the specified index in the collection. |
|
Properties
The FieldLinkCollection object has the following properties.
Property |
Description |
---|---|
Gets the column or field reference from the collection. |
REST resource endpoint
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes(contenttypeid)/fieldlinks
HTTP requests
This resource supports the following HTTP commands:
GET syntax
GET http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes(contenttypeid)/fieldlinks
POST syntax
POST http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes(contenttypeid)/fieldlinks