on 07-02-2013 6:56 AM
Hi all,
I am trying to create a simple button with alert on hana studio using sap UI5 project. I did all the procedures as mentioned. When i run it on the XS Engine it displays an empty page. But the same thing works perfectly on the demo video. I checked the error through developer tool its says that "sap is not defined". I am clear that my code was not able to access the UI5 library package. In the script i included the same path as they mentioned src="resources/sap-ui-core.js". But i dont know why this error occurs. Whether i have to configure anything or the path mentioned is wrong???
>In the script i included the same path as they mentioned src="resources/sap-ui-core.js".
As the previous poster suggested, this is definitely the problem. In HANA the path resources/sap-ui-core.js is not correct. It must be changed to /sap/ui5/1/resources/sap-ui-core.js (the case is important to HANA and therefore the above suggestion would still fail).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
11 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.