This documentation is archived and is not being maintained.

SP.RelatedFieldCollection object

SharePoint 2013

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

Last modified: March 09, 2015

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

var object = new SP.RelatedFieldCollection()

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.

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