Question

Hot Keys in Creatio

Does Creatio support development of Hot Keys like below

  1. Hotkey to open contact search popup on Order Page
  2. Hotkey to update Order Status
  3. Hotkey to delete a product in Order page

Thanks,

Ankit

Like 0

Like

5 comments

Hi team, can we import external javascript libraries for both web and mobile in Creatio

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*/

    };

});

 

Alina Kazmirchuk,

Hi Alina, Thanks for the input

Is this can be achieved for the mobile app also??

Thanks,

Ankit

Unfortunately, the mobile app doesn't support the hot keys functionality

Show all comments