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

How to tackle custom theme resource, when using CDN for UI5 library

$
0
0

Hi

 

I am running a SapUi5 App on my domain as a web application using CDN for ui5 library-

 

<script            id="sap-ui-bootstrap"            src='https://sapui5.hana.ondemand.com/resources/sap-ui-core.js'            data-sap-ui-theme="sap_bluecrystal"            data-sap-ui-libs="sap.m" >    </script>

Now I have a custom theme "ls" created using themedesigner.hanatrial.ondemand.com.

 

I have unzip the theme and put it inside the resource folder inside webcontent folder when using Eclipse  SapUi5 application as-

<script src="resources/sap-ui-core.js"       id="sap-ui-bootstrap"      data-sap-ui-libs="sap.m"       data-sap-ui-theme="ls">  </script>

the theme is working fine when testing on Run as Web Application or on Local Server.

 

Now I want to use the custom "ls" theme on the Web Application which is running on CDN for libraries as first one, whereas the custom theme has to use the local resource file as 2nd one. How to overcome this?

 

Thanks


Viewing all articles
Browse latest Browse all 8944

Trending Articles



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