on 08-05-2021 9:55 PM
i Experts,
I just deployed newly developed custom fiori app to abap backend server from VS Code using nwabap-ui5uploader. It looks all good and created BSP application in backend.
When I try to execute it from backend, It throws error "Uncaught ReferenceError: ui is not defined" in console. I google and found SAP Note 2833005 which says that loading old version of UI5 is an issue.
I checked backend version from http://<host>:<port>/sap/public/bc/ui5_ui5/index.html and version is 1.38. Then I looked manifest file version which has version "1.32.0" originally so I changed it to "1.38.0" manually to match it with backend but still same error.
Can someone please advice what's the issue here?
I used UI5 free style worklist template to create this app. App looks like below when launched locally.
Hello,
You issue comes from the index.html which refers to a wrong UI5 library. You should not call your application from index.html but directly by the component.js
If you want it working, change the bootstrap src parameter by something like this :
<script id="sap-ui-bootstrap" src="https://ui5.sap.com/1.38.51/resources/sap-ui-core.js"
Regards,
Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.