SP.UserCustomAction.registrationId Property

SharePoint 2010

Last modified: February 15, 2010

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
#sectionSection2

Gets or sets the value that specifies the identifier of the object associated with the custom action.

var value = SP.UserCustomAction.get_registrationId(); 
SP.UserCustomAction.set_registrationId(value);

It must be a list identifier or list template if RegistrationType is Microsoft.SharePoint.Client.UserCustomActionRegistrationType.List. It must be a content type identifier if RegistrationType is Microsoft.SharePoint.Client.UserCustomActionRegistrationType.ContentType. It must be a ProgID if RegistrationType is Microsoft.SharePoint.Client.UserCustomActionRegistrationType.ProgId. It must be a file extension if RegistrationType is Microsoft.SharePoint.Client.UserCustomActionRegistrationType.FileType.

Show: