/mcpFor additional parameters and methods, see RestCollectionBase Common Parameters, on page 452. ShortcutKey Service Allows gadgets or components to create shortcut keys for any component or gadget-related actions. Example finesse.shortcutkey.ShortcutKeyService.registerShortcutKey(arr); Methods getShorcutKeys() Retrieves all the registered shortcut keys. Example finesse.shortcutkey.ShortcutKeyService.getShortcutKeys(); Returns {Array} The array of objects. The objects content includes the following: • {String} accessKey—The key combination for the shortcut. • {String} actionName—The name of the action or operation performed by the assigned shortcut keys. • {String} componentName—The name of the functionality, component, or the gadget. • {Boolean} conflict—Determines whether the shortcut key is conflicting with another shortcut key. • {Enum} executionScope—Determines the execution scope. • {Function} handler—The function that is invoked when the shortcut keys are pressed. • {String} id—Unique identifier of the gadget. • {Boolean} isPageLevel—Determines whether the shortcut key is at the page level. • {String} key—The main key to be combined with modifier keys. • {String} modifierKeys—The modifier key is used commonly in keyboard shortcuts on the host platform. • {String} type—Determines whether the shortcut key runs on component or gadget. init() Initiates the ShortcutKeyService for the Container or the gadgets. Example finesse.shortcutkey.ShortcutKeyService.init(); registerShortcutKey(keys) Registers the shortcut keys for the components or the gadgets. A key combination consists of a main key and a set of modifier keys. The main key is specified by its key character - key. A modifier key is Shift, Ctrl, Alt, or the combination. Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 519 Cisco Finesse JavaScript APIs ShortcutKey Service