CUI.Page.FocusManager.executeCommand(commandId, properties) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Executes the command with the specified ID on all of the registered command handlers that can execute the command.
CUI.Page.FocusManager.executeCommand(commandId, properties);
Parameters
commandId
Type: String
The ID of the command to execute.
properties
Type: Object
The properties of the command to execute.
Return Value
Type: boolean
true if one or more command handlers processed the command successfully; otherwise, false.
Exceptions
Sys.Exception
In all cases.
Remarks
This method always throws an exception with the message, "ExecuteCommand should not be called on the main CommandDispatcher of the page, not the FocusManager".