jQuery.sap.registerModulePath("cus.crm.lead",'/sap/bc/ui5_ui5/sap/crm_leads');
jQuery.sap.declare("zcus.crm.lead.CRM_LEADSExtension.Component");
jQuery.sap.require("cus.crm.lead.Component");
cus.crm.lead.Component.extend("zcus.crm.lead.CRM_LEADSExtension.Component", {
metadata: {
//metadata details i.e. configuration, customizing and routing data
}
});
For better understanding, the detailed meanings of above are as follows:
jQuery.sap.registerModulePath – This creates reference to the standard application. The jQuery.sap.registerModulePath or sap.ui.localResources make the location of a component's resources known to SAPUI5.
jQuery.sap.declare – This declares a module as existing, kindly notice the “ZCUS” namespace.
jQuery.sap.require – This ensures that given module is loaded first (i.e. cus.crm.lead.Component) and executed prior to this current execution of extension code.
cus.crm.lead.Component.extend – This is to be extended.
I hope that helps.
Warm Regards
Hemendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 28 | |
| 25 | |
| 24 | |
| 20 | |
| 14 | |
| 13 | |
| 12 | |
| 11 | |
| 11 | |
| 11 |