This documentation is archived and is not being maintained.

SP.FieldLinkCollection object

SharePoint 2013

Represents a collection of SP.FieldLink objects that are column or field references in a content type.

Last modified: March 09, 2015

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.FieldLinkCollection()

The FieldLinkCollection object has the following members.

Constructor

The FieldLinkCollection object has the following constructor.

Constructor

Description

FieldLinkCollection

Initializes a new instance of the SP.FieldLinkCollection object.

Methods

The FieldLinkCollection object has the following methods.

Method

Description

add

Adds a content type field reference to the collection.

getById

itemAt

Gets the column or field reference at the specified index in the collection.

reorder

Properties

The FieldLinkCollection object has the following properties.

Property

Description

childItemType

item

Gets the column or field reference from the collection.

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
Show: