on ‎2023 May 12 7:27 AM
Hi, I have tried loading an UI5 App from the MII server, but stuck on this error.

I have used the ./XMII/CM.. prefix instead of the entire https server link. (which also gives the same error).
The app is on the WEB Tab available on the MII workbench.
Here are the other files.
Root.Controller.js
sap.ui.define([
"sap/ui/core/mvc/Controller"
], function(Controller) {
"use strict";
return Controller.extend("................AvishekS/MessageMonitorScreen3/controller/Root", {
});
});<br>
View.xml

Component.js file
sap.ui.define([
"sap/ui/core/UIComponent",
"sap/ui/Device",
"...................../AvishekS/MessageMonitorScreen3/webapp/model/models"
], function(UIComponent, Device, models) {
"use strict";
return UIComponent.extend("......................./AvishekS/MessageMonitorScreen3/webapp/Component", {
metadata: {
manifest: "json"
},
/**
* The component is initialized by UI5 automatically during the startup of the app and calls the init method once.
* @public
* @override
*/
init: function() {
// call the base component's init function
UIComponent.prototype.init.apply(this, arguments);
// set the device model
this.setModel(models.createDeviceModel(), "device");
}
});
});<br>
Not able to figure out where the problem is.
Request clarification before answering.
why there are so many .............?
it should be . not /
/AvishekS/MessageMonitorScreen3/webapp/Component
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.