Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Re: Can't run SAP Fiori - My Tasks Extension in SAP WEB IDE

$
0
0

Hello

 

Try this (I did this for the opportunity app, so change it in function of your needs):

 

In Component.js of the extension app, the function below :

 

jQuery.sap.require("cus.crm.opportunity.CRM_OPPRTNTYExtension.util.Formatter");

jQuery.sap.declare("cus.crm.opportunity.CRM_OPPRTNTYExtension.Component");

 

(function() {

  jQuery.sap.registerModulePath("sap.cus.crm.lib.reuse", "/sap/bc/ui5_ui5/sap/crm_lib_reuse/sap/cus/crm/lib/reuse");

}());

 

// use the load function for getting the optimized preload file if present

sap.ui.component.load({

  name: "cus.crm.opportunity",

 

 

  // Use the below URL to run the extended application when SAP-delivered application is deployed on SAPUI5 ABAP Repository

  url: "/sap/bc/ui5_ui5/sap/CRM_OPPRTNTY"

 

 

  // we use a URL relative to our own component

  // extension application is deployed with customer namespace

});

 

 

see /resources/sap/cus/crm/lib/reuse/library.js 404 (Not Found) when running the extended application

 

best regards

 

Emmanuel


Viewing all articles
Browse latest Browse all 8451

Trending Articles