SP.RelatedFieldCollection object

Represents a collection of SP.RelatedField objects storing properties of relationship lookup fields.

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

var object = new SP.RelatedFieldCollection()

Members

The RelatedFieldCollection object has the following members.

Constructor

The RelatedFieldCollection object has the following constructor.

Constructor

Description

RelatedFieldCollection

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

Methods

The RelatedFieldCollection object has the following methods.

Method

Description

itemAt

Gets the related field at the specified index of the collection.

Properties

The RelatedFieldCollection object has the following properties.

Property

Description

childItemType

item

Gets the related field at the specified index of the collection.

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/lists(listid)/GetRelatedFields()

HTTP requests

This resource supports the following HTTP commands:

GET syntax

GET http://<sitecollection>/<site>/_api/web/lists(listid)/GetRelatedFields()

POST syntax

POST http://<sitecollection>/<site>/_api/web/lists(listid)/GetRelatedFields()