Does Creatio support development of Hot Keys like below
- Hotkey to open contact search popup on Order Page
- Hotkey to update Order Status
- Hotkey to delete a product in Order page
Thanks,
Ankit
Like
Yes. At least for Web.
You can check out the JQuery module.
Thank you
Mohamed
It's possible to develop functionality of the keyboard shortcuts.Key press events like keyup, keypress, and keydown events can be used to trigger a function call. There is an example below. In the example when the key "C " is up the Contact section is opened:
define("ContactPageV2", ["jQuery"], function(jQuery) {
return {
entitySchemaName: "Contact",
attributes: {},
modules: /**SCHEMA_MODULES*/{}/**SCHEMA_MODULES*/,
details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/,
businessRules: /**SCHEMA_BUSINESS_RULES*/{}/**SCHEMA_BUSINESS_RULES*/,
methods: {
onEntityInitialized: function(){
this.callParent(arguments);
document.onkeyup = this.keyUpHandler.bind(this);
},
keyUpHandler: function(e){
if (e.which == 67) { //67 - code "C" key
this.sandbox.publish("PushHistoryState", {hash: "SectionModuleV2/ContactSectionV2/"});
}
}
},
dataModels: /**SCHEMA_DATA_MODELS*/{}/**SCHEMA_DATA_MODELS*/,
diff: /**SCHEMA_DIFF*/[
]/**SCHEMA_DIFF*/
};
});
Unfortunately, the mobile app doesn't support the hot keys functionality