SP へフィールド リンク オブジェクト (sp.js)
Specifies a reference to a field or field definition for a content type.
**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.FieldLink()
Members
The FieldLink object has the following members.
Constructor
The FieldLink object has the following constructor.
Constructor |
Description |
---|---|
Initializes a new instance of the SP.FieldLink object. |
Methods
The FieldLink object has the following methods.
Method |
Description |
---|---|
Deletes this FieldLink from the collection of the parent content type. |
Properties
The FieldLink object has the following properties.
Property |
Description |
---|---|
Gets or sets a value that specifies whether the field is displayed in forms that can be edited. |
|
Gets a value that specifies the GUID of the FieldLink. |
|
Gets a value that specifies the name of the FieldLink. |
|
Gets or sets a value that specifies whether the field (2) requires a value. |
REST resource endpoint
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes(contenttypeidcontenttypeid})/fieldlinks(fieldlinkid
HTTP requests
This resource supports the following HTTP commands:
DELETE syntax
DELETE http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes(contenttypeidcontenttypeid})/fieldlinks(fieldlinkid
POST syntax
POST http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes(contenttypeidcontenttypeid})/fieldlinks(fieldlinkid