cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 form

0 Kudos

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

https://sapui5.hana.ondemand.com/#/sample/sap.ui.layout.sample.Form354wideDual/code/Page.controller....

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?

maheshpalavalli
Active Contributor

You can take a screenshot of console errors and put here. Pasting the code will be useful as well.

maheshpalavalli
Active Contributor

Can you put the view code also.. there is some issue in the view..

0 Kudos

Thanks so much, new to coding over here. I see it's marking me an error on line 6 but I'm unsure of what it wants me to do

0 Kudos

Can you share your folder structure screenshot?

View Entire Topic
maheshpalavalli
Active Contributor
0 Kudos

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