SP.Form object
A form provides a display and editing interface for a single list item.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.Form()
Members
The Form object has the following members.
Constructor
The Form object has the following constructor.
Constructor |
Description |
---|---|
Initializes a new instance of the SP.Form object. |
Methods
The Form object has the following methods.
Method |
Description |
---|---|
Properties
The Form object has the following properties.
Property |
Description |
---|---|
Gets a value that specifies the page type of the list form. |
|
Gets a value that specifies the identifier of the list form. |
|
Gets a value that specifies the server-relative URL of the list form. |
Remarks
A form has one associated Web Part instance (the form Web Part). Because a Web Part instance exists in the context of a page, a form always has an associated page. A form has a collection of settings flags defined.
REST resource endpoint
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/lists(listid)/forms(formid)
HTTP requests
This resource supports the following HTTP commands:
POST syntax
POST http://<sitecollection>/<site>/_api/web/lists(listid)/forms(formid)