SP.UserCustomActionCollection.getById Method (sp.js)
Returns the custom action with the specified identifier.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.UserCustomActionCollection.getById()
Parameters
userCustomActionId
Type: SP.GuidSpecifies the identifier of the custom action.
id
Return value
Type: SP.UserCustomAction
Remarks
It must return null if no custom action corresponds to the specified identifier.
REST resource endpoint
See UserCustomActionCollection resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/UserCustomActions/getById(id)
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/UserCustomActions/getById(id)
Resource parameters
- id