on 06-03-2014 11:48 PM
I made a custom theme with designer.hanatrial.ondemand.com, which gave a zip file. I then created a local standalone SAPUI5 application. After unzipping and copying into "WebContent/resources/sap" folder in the application directory, I was able to apply the theme with the following code in index.html:
<script src="/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.ui.commons"
data-sap-ui-theme="my_theme">
</script>
Here my_theme is the name of the customized theme.
After that, I shared the SAPUI5 application into an XS project which is shared on the HANA server and made the following modification according to:
<script src="/sap/ui5/1/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.ui.commons"
data-sap-ui-theme="my_theme">
</script>
This time the theme does not show up. So my question is: 1. what is the proper way to apply a custom theme on an XS-embedded SAPUI5 project? 2. is there any way I can copy and paste the theme files onto the server's "/Content/sap" folder? Thank you!
Hi Wei,
I am facing the same issue .Did you get a solution for this ?Where is the folder to place the custom themes?Kindly suggest if you already got this solved.
Thanks and Regards
Neeta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.