Description
In build.one it is possible to define a shortcut for different actions. It is possible to do this for different menu actions or to implement your own class and thus define custom shortcuts.
Default Shortcuts
The next set of shortcuts are configured by default in Build.One
Action | Shortcut Windows | Shortcut MacOs |
Switch between layout panels: go to previous/next panel. | Alt + Arrow left/right | option + Arrow left/right |
Switch between sidebar menu items: go to next/previous item. | Alt + Arrow up/down | option + Arrow up/down |
The focus is moved to the ribbon/toolbar. Then, arrow left/right/up/down focus is moved to the items of the ribbon/toolbar, and with Enter the item can be executed. | Alt + Ctrl + R | fn + control + option + R |
Close the current active window. | Alt + F3 | fn + option + F3 |
Switch between tabs in the tab bar. | Ctrl + Arrow Left/Right | fn + control + Arrow Left/Right |
Switch between items in the sidebar. | Ctrl + Arrow Up/Down | fn + control + Arrow Left/Right |
Switch between desktop view and taskbar view (similar to the "B" from the top left). | Ctrl + D | fn + control + D |
Will set focus on the omnisearch field (where available). | Ctrl + F | fn + control + F |
Open new screen with the layout designer. | Ctrl + Shift + Alt + D | Shift + fn + control + option + D |
Open repository objects. | Ctrl + Shift + Alt + L | Shift + fn + control + option + L |
Enable Developers Tools panel menu (refresh the application or relaunch the screen after keyboard shortcut is performed). | Ctrl + Shift + Alt + P | Shift + fn + control + option + P |
AutoTran Event. | Ctrl + Shift + Alt + T | Shift + fn + control + option + T |
Open Urmel. | Ctrl + Shift + Alt + U | Shift + fn + control + option + U |
Opening the help screen. | F1 | fn + F1 |
Reset filters to default filter values. | In Grid: F9 | fn + F9 |
Reset filters to default filter values and refresh. | In Grid: Shift + F9 | Shift + fn + F9 |
Display version info of SWAT-WEBUI and SWAT-BACKEND. | Shift + Alt + F1 | Shift + fn + option + F1 |
Delete Local Storage. | Shift + Alt + Del | Shift + fn + option + Del |
How to use it
Use shortcuts in menu actions
- Create a menu function as described in Actions
- Add a combination in the form field Shortcut
- Use a combination of keys separated with “-”
- Save and use
Customize own shortcuts
File: [customer]/src/webui/akioma/ts/Shortcuts.ts:
export default function bindShortcuts() {
akioma.swat.ShortcutManager.bindGlobal('ctrl+alt+f', () => {
akioma.swat.Message.informationMessage('ctrl-alt-f pressed. launching customer search screen');
window.app.controller.launchContainer({ containerName: 'CustomerChooseDialog' });
});
akioma.swat.ShortcutManager.bindGlobal('ctrl+alt+n', () => {
akioma.swat.Message.informationMessage('ctrl--alt-n pressed, jumping to custom filter field');
const myForm = window.akioma.swat.Root.getObject('CustomerForm') as akioma.swat.Form;
myForm.setFieldFocus('custfilterno');
});
akioma.swat.ShortcutManager.bindGlobal('ctrl+alt+c', () => {
akioma.swat.Message.informationMessage('ctrl-alt-c pressed');
const myForm = window.akioma.swat.Root.getObject('CustomerForm');
myForm._controller.dhx.clear();
});
}
Back to Documentation
Back to Home Page