SP.FormCollection object (sp.js)

SharePoint 2013

Represents a collection of SP.Form objects for a list.

Last modified: June 25, 2013

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

var object = new SP.FormCollection()

The FormCollection object has the following members.

Constructor

The FormCollection object has the following constructor.

Constructor

Description

FormCollection

Initializes a new instance of the SP.FormCollection object.

Methods

The FormCollection object has the following methods.

Method

Description

getById

getByPageType

Returns the list form with the specified page type.

itemAt

Gets the list form at the specified index in the collection.

Properties

The FormCollection object has the following properties.

Property

Description

childItemType

item

Gets the list form at the specified index in the collection.

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

GET syntax

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

POST syntax

POST http://<sitecollection>/<site>/_api/web/lists(listid)/forms
Show:
© 2014 Microsoft