Customize Keyboard Shortcuts for Agents
Introduction to Keyboard Shortcuts

Of course, a mouse is helpful. But sometimes a mouse can slow down your support agents, especially when they’re completing repetitive tasks, such as opening or closing console tabs. Sometimes it’s faster to press a key on a keyboard—hence, the term shortcut—instead of moving a mouse around with your wrist atop a plastic mouse pad, and then trying to figure out which of its buttons you should click with your fingers.
Explore Default Keyboard Shortcuts
Some keyboard shortcuts are automatically turned on in a console. In other words, your support team can immediately start using shortcuts to close cases faster. Let’s check out these default keyboard shortcuts.


Look closely at some of the standard shortcuts in the overlay. Do you notice any themes? You might notice the themes of moving and editing. The standard shortcuts let you press keys to focus your movements inside a console or edit records in a console. Depending on your support agents’ workflow, they might never need to use a mouse again with a console, as long as you provide them with all the right shortcuts.
Turn On Keyboard Shortcuts

- From Setup, enter Apps in the Quick Find box, then select Apps.
- Next to the Sample Console, click Edit.
- Click Customize Keyboard Shortcuts.
- Click Edit.
- Select show keyboard shortcuts, and remember the corresponding key command SHIFT+K.
- Click Save.
- Click Back to Sample Console.
- Press SHIFT+K. Notice that the Show Keyboard Shortcuts overlay appears?
And that’s how you turn on any of the standard keyboard shortcuts that aren’t on by default. You can follow the same tasks to turn off keyboard shortcuts too, but you probably figured that out already. The next question you may be asking is, “But what if I want to change or customize an existing shortcut?” Let’s do that now. It’s simple.
Customize Standard Keyboard Shortcuts
Let’s say you’ve asked your support team which keyboard shortcuts they use most. Most of your support agents say they love how shortcuts have increased their productivity by reducing mouse clicks, but they don’t like some of the key combinations. You’re a little surprised to hear that pressing O is more difficult than pressing K, but it’s your job to help.
- From Setup, enter Apps in the Quick Find box, then select Apps.
- Next to the Sample Console, click Edit.
- Click Customize Keyboard Shortcuts.
- Click Edit.
- Next to show keyboard shortcuts, click Edit.
- In Key Command, type SHIFT+U, then click OK.
- Click Save.
- Click Back to Sample Console.
- Press SHIFT+U.Notice that the Show Keyboard Shortcuts overlay appears, and SHIFT+U is displayed in the overlay as the customized shortcut.
You now know how easy it is to customize standard keyboard shortcuts, but you might be thinking it’s time to see how to create a shortcut from scratch. Let’s cover that next.
Create Custom Keyboard Shortcuts
We’re not going to dodge the issue. Creating custom keyboard shortcuts from scratch is a little more challenging, unless you’re familiar with coding. Since we’re assuming that code and things named the Service Cloud Console Integration Toolkit (Console API) sound a little intimidating to you, we’re not going to actually create a shortcut. But the process to do so isn’t that hard. And we’re going to walk you through what someone with a bit of a developer experience could do to create a custom shortcut. Our custom shortcut will let console users log out of Salesforce by pressing a key.
- You create a custom shortcut similarly to how you edit a standard shortcut.
- A developer codes a “listener” in a Visualforce page that details the new shortcut’s logic.
- You add the listener to a custom console component so that it’s available to a console.
- You add the custom console component to a console’s footer so that users can trigger the new shortcut.
- Create the custom shortcut similarly to how you edit a standard shortcut.
- From Setup, enter Apps in the Quick Find box, then select Apps.
- Next to the Sample Console, click Edit.
- Click Customize Keyboard Shortcuts.
- Click Edit.
- Click +Add Keyboard Shortcut.
- Add shortcut details, and remember the Console Event Name and
Key Command, as you’ll send those to a developer who codes some
magic.
- A developer codes a “listener” in a Visualforce page that listens for users’ requests to
trigger the keyboard shortcut.
Whoa, that might sound strange, but it’s just a bit of code added to Salesforce to turn the logout shortcut you created into a reality.
- Add the listener to a custom console component so that it’s available for a console.
Shakespeare wrote: “To be or not to be, that is the question.” But a savvy console administrator asks, “To add a component to a page layout or the footer, that is the question.” Page layouts display components alongside records, whereas a footer displays components no matter which records appear.
- From Setup, enter Custom Console Components in the Quick Find box, then select Custom Console Components.
- Click New.
- Create a new component named ShortcutsListener, mark it as
Hidden, and associate it with the Visualforce page that
includes the listener created by your developer.
- Click Save.
- Add the listener component to a console footer’s for the custom shortcut to work when
triggered by users.
- From Setup, enter Apps in the Quick Find box, then select Apps.
- Next to the Sample Console, click Edit.
- In Choose Custom Console Components, add the new
ShortcutsListener component.
- Click Save.
And that’s how you create a custom keyboard shortcut. If you tried to add the custom shortcut to your Sample Console, next time you return to it, click SHIFT+S, and you’ll log yourself out of Salesforce without using a mouse. Now that you’ve gone through the process of creating a keyboard shortcut, it’s probably easier than you thought!
Resources
- Help: Customize Keyboard Shortcuts for a Salesforce Console
- Help: Default Keyboard Shortcuts for a Salesforce Console
- Help : Work with Keyboard Shortcuts in a Salesforce Console
- Developer Guide (Console API): Salesforce Console Integration Toolkit Developer Guide
- Blog Post: Useful Keyboard Shortcuts in a Service Cloud Console