How to build, deploy and test a SAPUI5/Fiori application on HANA XS in less than 10 minutes -
there lot of information sap ui5 , sap fiori. what's difference, what's needed build them?
sap fiori design guide building web-based app easy use, responsive, delightful, etc.
technology sap fiori based on sap ui5.
start information sap fiori guidelines open-sap courses.
to build sap ui5 application , deploy on hana xs application server:
prerequisites
- eclipse
- sap plugins (for eclipse luna): https://tools.hana.ondemand.com/luna (installed via -> install new software...
- sap hana (including configured xs server)
build simple sap ui5 application , deploy on sap hana xs server:
- in eclipse
- project explorer -> context menu -> new -> project... -> sapui5 application development -> application project -> next -> <enter project name> -> next -> <enter name> -> finish
- share projrect: right click on project -> team -> share project -> sap hana repository -> next -> choose desired repository, choose parent package via browse button
- add
.xsaccess
content: { "exposed" : true, "authentication" : { "method" : "form"}, "prevent_xsrf" : true } ,.xsapp
(empty file) webcontent folder - change within index.html
<script src="resources/sap-ui-core.js"
<script src="/sap/ui5/1/resources/sap-ui-core.js"
- activate changes: right click on project -> team -> activate all..
- open url in browser http://sap-hana-xs-url:80<instance_number>/your/parent/packages/project/webcontent/index.html (example: http://hana:8000/tests/app01/webcontent/index.html) aware url case sensitive.
troubleshooting:
- if error 404 either url path wrong or might have forgotten create , activate
.xsapp
,xsaccess
files - if page empty might have forgotten change library path within
index.html
file.
Comments
Post a Comment