SP.Ribbon.PageState.PageStateHandler.getGlobalCommands() Method

SharePoint 2010

Last modified: May 26, 2011

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Gets a list of the global commands.

var value = SP.Ribbon.PageState.PageStateHandler.getGlobalCommands();

Type: Array

The list of the global commands.

This method returns a list of the global commands that can be executed on any page component, whether or not the component has the focus.

Show: