on 04-20-2021 12:11 AM
In reading this article - https://sapui5.hana.ondemand.com/sdk/#/topic/e9fc648661d84ed89360bbec3ae02611
I am unsure of where to place the code inside the HTML tags.
This is what I have so far:
ComponentJS:
sap.ui.getCore().applyTheme("custom_quartzlight","https://s41ixp00.na.ko.com:4300/sap/public/bc/themes/~client-030/~cache-JTc-nmcrjVzUL3RELn-gcIiyU5g");
The id of the theme is custom_quartzlight from Theme Designer. The address I've retrieved using /UI5/THEME_TOOL. There were 2 URL addresses:
sap-cssurl=https://s41ixp00.na.ko.com:4300/sap/public/bc/themes/~client-030/~cache-JTc-nmcrjVzUL3RELn-gcIiyU5g/~legacy/sap_tradeshow/ur/ur_ie6.css
sap-theme=custom_quartzlight@https://s41ixp00.na.ko.com:4300/sap/public/bc/themes/~client-030/~cache-JTc-nmcrjVzUL3RELn-gcIiyU5g
I assume I use the address that does not end with .css
And what results is an applied blank theme when I run on FLP sandbox:
There is no applied theme in above screenshot...could someone please help!
Hi,
Mentioned the custom theme in the SAPUI5 bootstrap script tag.
<scriptid="sap-ui-bootstrap"type="text/javascript"src="resources/sap-ui-core.js"data-sap-ui-theme-roots='{"my_theme" : "http://myserver.com/sap/myapp/?sap-ui-theme=my-theme@/sap/public/bc/themes/~client-111"}'></script>
Regards,
Meghal Shah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
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.