function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Barb LeungBarb Leung 

need help to addlistener for keyboard shortcuts

Hi,
I followed the trailhead to add shortcut keys to SF, and followed this page, but I guess I'm not doing something right.
https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_addeventlistener.htm
I tried the 25.0 then the 30.0.  I don't know how to use the develop console.  Does this go into a new VF page or VF component?  

I also don't know what this means from the trailhead -
You add the custom console component to a console’s footer so that users can trigger the new shortcut.

I am a new admin trying to get thru a trailmix for Essentials and this one is so far the hardest!

Thanks in advance!
Barb LeungBarb Leung
forgot to add this is the error in adding custom console components - i have not idea what that error means.  I tried to google it and couldn't find anything...
User-added image
AbhishekAbhishek (Salesforce Developers) 
Hi,

We have a dedicated team for Trailhead guidance & issues please report it here,

https://trailhead.salesforce.com/help?support=home#

https://trailhead.salesforce.com/help

So that our trailhead support engineers will look into it and get back to you.

I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.

Regards,
Salesforce Support.