SP.UserCustomAction Properties

Applies to: SharePoint Foundation 2010

The following table lists the properties of the SP.UserCustomAction class.

Properties

Name

Description

commandUIExtension

Gets or sets a value that specifies an implementation specific XML fragment that determines user interface properties of the custom action.

description

Gets or sets the description of the custom action.

group

Gets or sets a value that specifies an implementation-specific value that determines the position of the custom action in the page.

id

Gets a value that specifies the identifier of the custom action.

imageUrl

Gets or sets the URL of the image associated with the custom action.

location

Gets or sets the location of the custom action.

name

Gets or sets the name of the custom action.

registrationId

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

registrationType

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

rights

Gets or sets the value that specifies the permissions needed for the custom action.

scope

Gets a value that specifies the scope of the custom action.

scriptBlock

Gets or sets the value that specifies the ECMAScript to be executed when the custom action is performed.

scriptSrc

Gets or sets a value that specifies the URI of a file which contains the ECMAScript to execute on the page

sequence

Gets or sets the value that specifies an implementation-specific value that determines the order of the custom action that appears on the page.

title

Gets or sets the display title of the custom action.

url

Gets or sets the URL, URI, or ECMAScript (JScript, JavaScript) function associated with the action.

versionOfUserCustomAction

Gets a value that specifies an implementation specific version identifier.

Applies To

SP.UserCustomAction Class

See Also

Reference

SP.UserCustomAction Methods

SP Namespace