on 01-31-2019 1:48 PM
Hi,
I am using SAP WEB IDE (SAP cloud platform trial) for creation UI5 app.
I have encountered one query which is when I right click on the FOLDER(myFirstUi5App, say) there is not an option for creating View.
I request you to please help me to get an option for creating a ‘View’.
Right click on the project folder > Project > Project Settings > Project Types and enable the SAP Fiori type.
Once this is activated, the right click menu item SAPUI5 View will be available under New.
IMPORTANT: Currently, creating a view via the menu SAPUI5 View will create the view with <App> every time. Having such root controls in every view will result in layout issues soon or later. Do not keep sap.m.App in every view except in the root view.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Boghyon, Now its working!!!!!!!!!!!!!!!!!
prashanthom.reddy Glad I could help. Please be aware that Web IDE adds sap.m.App every time when the view is created via the menu SAP View. This is not a good practice as root controls are supposed to exist only once in the whole application, not in every view.
Updated my answer accordingly..
Thank you Boghyon ! It was just a configuration but bothered me a lot. Thanks a ton for the help. I appreciate your time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.