Previous articles have discussed how Hot Keys can be added into Sage CRM.
- Get to your data quicker using shortcuts
- Adding a Hot Key keystroke to a Custom Button (added using Button Groups)
What these articles have not explained is how the Hot Keys are implemented as code within the Sage CRM screens.
If we consider a screen like the Case Summary screen shown above, there are number HotKeys indicated on the screen.
- Change, [Alt][H]
- Continue, [Alt][O]
- Summary Report, [Alt][R]
- Help, [Alt][P]
As the article "Adding a Hot Key keystroke to a Custom Button (added using Button Groups)" explained these are actually added using Sage CRM's standard translation feature.
You can search for these in the area
Administration -> Customization -> Translations
|Caption Family||Caption Code||US Translation|
Entering the translation provides the prompt on the screen, but actually all of the Hot Keys in Sage CRM are implemented in the browser as the HTML property "AccessKey".
Buttons in the Sage CRM interface are created as HTML hyperlinks. For each "button" there is the image and there is the associated text with a hyperlink.
We can see that by looking at the HTML of the page.
Below is the HTML that is used to create the button "Add this record to a group". We can see the reference to the image and the text and how they are hyperlinked.
|Add this record to a Group|
But there is no Hot Key associated with the "Add this record to a group" button. Contrast this with the code below for the help button.