SAP CRM can create a new event handler directly from the right click in the development tool:

These event handlers are actually methods on the UI Controller (Controller) that have a specific interface type.

C4C UI的event handler

Created in the Controller TAB of C4C UI Designer, an example is as follows:

These events are part of the entire UI Component source code and can be viewed in the Network TAB of Chrome Developer Tools. Path for UXComponent – > Implementation – > EventHandler:

At run time, according to the above Event handler json source code, will instance into SAP. Client. Data. The EventHandler instance:

For more of Jerry’s original technical articles, please follow the public account “Wang Zixi” or scan the following QR code: