SP.UserCustomAction.registrationId Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To

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);

Property Value

Type: String

Applies To

SP.UserCustomAction Class

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.

See Also

Reference

SP.UserCustomAction Methods

SP.UserCustomAction Properties

SP Namespace