SP.UserCustomAction.registrationType Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets or sets the value that specifies the type of object associated with the custom action.
var value = SP.UserCustomAction.get_registrationType();
SP.UserCustomAction.set_registrationType(value);
Property Value
Type: SP.UserCustomActionRegistrationType
Applies To
Remarks
It must be List if the RegistrationId is a list identifier or list template. It must be ContentType if the RegistrationId is a content type identifier. It must be ProgID if the RegistrationId is a ProgID. It must be FileType if the RegistrationId is a file extension.