SP.UserCustomAction.sequence property (sp.js)
Gets or sets the value that specifies an implementation-specific value that determines the order of the custom action that appears on the page.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.UserCustomAction.get_sequence ()
var value = SP.UserCustomAction.set_sequence ()
Return value
Type: Number
Remarks
Its value must be equal to or greater than 0. Its value must be equal to or less than 65536.
REST resource endpoint
See UserCustomAction resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/UserCustomActions(usercustomactionid)/sequence
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/UserCustomActions(usercustomactionid)/sequence
GET syntax
GET http://<sitecollection>/<site>/_api/web/UserCustomActions(usercustomactionid)/sequence