Failed to load UI5 component with properties .. Fiori Launchpad

Deadly 提交于 2019-12-07 07:33:28
Nafees Abbasi

The common configuration for a Fiori tile is to point to the Component.js file. So the index.html is not called. The FioriLaunchpad.html plays the role of the index.html and the ComponentContainer is defined there. So register your path in the Component.js file.

init: function() {

        //load CodeEditor 
        jQuery.sap.registerModulePath("sap.ui.codetools", "/sap/ui/codetools/");

        UIComponent.prototype.init.apply(this, arguments);

        // set the device model
        this.setModel(models.createDeviceModel(), "device");
    }

in this way you can fix your problem

The common configuration for a Fiori tile is to point to the Compopent.js file. So the index.html is not called. The FioriLaunchpad.html plays the role of the index.html and the ComponentContainer is defined there.

Try to register your custom control somewhere else within the app.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!