Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9155

Re: SAPUI5 iView does not work?

$
0
0

Dear Jan.

 

I have managed to resolve my issue and thought I'd share my solution with you.

 

I created my project as a Enterprise Portal Development Component. This was resolved

by doing the following actions:

 

1) At the top of html file, the resources file path for ui5 needs to amended for deployment

to SAPJ2EE runtime:

 

i.e. from <script src="resources/sap-ui-core.js" to <script src="/sapui5/resources/sap-ui-core.js"

 

(and I explicitly added data-sap-ui-xx-fakeOS="ios" for runtime purposes)

 

2) Development component dependency should be updated to include following (I believe this

is also true for .ear deployment

 

     UISAPUI5_JAVA > ui/five

 

Please note that the SC must be imported to either NWDI or locally to NWDS Local Components

(I had to log onto SAP marketplace  to get the latest SAPUI5 .sca and import my NWDS

Search for "SAPUI5 CLIENT RT AS JAVA 7.31")

 

3) In project properties add java libraries

 

SAPUI5 Core Libraries

SAPUI5 Server Side Libraries

 

I hope this will help to solve your issue, and anticipate it is step 1) you are missing.

 

Thanks

 

Mike


Viewing all articles
Browse latest Browse all 9155

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>