Export (0) Print
Expand All

SP.UserCustomAction.scriptBlock Property

SharePoint 2010

Last modified: February 15, 2010

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

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

var value = SP.UserCustomAction.get_scriptBlock(); 
SP.UserCustomAction.set_scriptBlock(value);

It must be null if Location is not "ScriptLink". This Standard defines the ECMAScript scripting language.

Show:
© 2014 Microsoft