SP.UserCustomActionCollection object
Represents a collection of SP.UserCustomAction objects.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.UserCustomActionCollection()
Members
The UserCustomActionCollection object has the following members.
Constructor
The UserCustomActionCollection object has the following constructor.
Constructor |
Description |
---|---|
Initializes a new instance of the SP.UserCustomActionCollection object. |
Methods
The UserCustomActionCollection object has the following methods.
Method |
Description |
---|---|
Adds a new SP.UserCustomAction object custom action to the collection. |
|
Deletes all custom actions in the collection. |
|
Returns the custom action with the specified identifier. |
|
Gets the custom action at the specified index of the collection. |
Properties
The UserCustomActionCollection object has the following properties.
Property |
Description |
---|---|
Gets the custom action at the specified index of the collection. |
REST resource endpoint
See UserCustomActionCollection resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/UserCustomActions
HTTP requests
This resource supports the following HTTP commands:
GET syntax
GET http://<sitecollection>/<site>/_api/web/UserCustomActions
POST syntax
POST http://<sitecollection>/<site>/_api/web/UserCustomActions