on 02-21-2019 5:01 PM
screen-shot-2019-02-21-at-30416-pm.pngscreen-shot-2019-02-21-at-112626-am.pngI'm new to UI5 and trying to use this
I already opened the proper folders and entered the right code but my web app is still not running.
How would I go about using this form?
Hi Oscar Villegas,
You did a mistake there, you used javascript code inside the XML view which is not possible in UI5 or anywhere else.
I understand that you are new to UI5 so the best way to learn is to go through the documentation first (Get Started: Setup and Tutorials)
https://ui5.sap.com/#/topic/8b49fc198bf04b2d9800fc37fecbb218
For now the fix is don't copy paste the code from samples code.. There is a button "Download" (top right corner) which will download all the source code and import that in the webide and run it 🙂
Happy coding ui5!
BR,
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check the resource root defined in your index.html file and ensure that the same prefix appears in all places in your project while referring to controllers and views. From the error screen shot it looks like the framework is trying to load the view having prefix opensap.myapp but in your view you have given the resource root prefix as sap.ui.layout.sample.Form354wideDual in the controllerName property.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.