on 01-03-2016 8:22 AM
Hello Experts,
I'm trying to set a custom theme for standalone WDJ application in my 7.4 portal.
According to the documentation: https://help.sap.com/saphelp_nw74/helpdata/en/4c/23225735285791e10000000a15822b/frameset.htm I should add the sap-cssurl parameter with this values:
http://<server>:<port>/webdynpro/resources/sap.com/tc~lm~itsam~ui~mainframe~wd/FloorPlanApp?home=true&sap-cssurl=http://<server>:<port>/webdynpro/resources/sap.com/tc~wd~dispwda/global/SSR/themes/sap_hcb/ur/ur_ie5.css
but it doesn't work.
I've manage to make it work for standard themes by using the following url:
http://<server>:<port>/webdynpro/resources/sap.com/tc~lm~itsam~ui~mainframe~wd/FloorPlanApp?home=true&sap-cssurl=http://<server>:<port>/com.sap.ui.lightspeed/themes/sap_hcb
However it doesn't work for custom themes.
What is the correct sap-cssurl value for custom themes?
Regards,
Omri
Solved it my own.
Normally theme should be copied to <drive>\usr\sap\<SID>\J<Instance>\j2ee\cluster\apps\sap.com\tc~wd~dispwda\servlet_jsp\webdynpro\resources\sap.com\tc~wd~dispwda\root\global\SSR\themes and that would be enough for sap-cssurl.
However, for changing it globally in NWA it's not enough, theme should be copied also to <drive>\usr\sap\<SID>\J<Instance>\j2ee\cluster\apps\sap.com\tc~ui~lightspeed\servlet_jsp\com.sap.ui.lightspeed\root\themes.
In NWA the setting is: http://<server>:<port>/webdynpro/resources/sap.com/tc~wd~dispwda/global/SSR/themes/<theme> but the actual theme is in the lightspeed folder (looks like some split the url, took the theme name and concatenate it to hardcoded url...)
It took me a while to find it (it's not written in SAP documentation).
I opened OSS and I was told (as always for J2EE/Portal/WDJ questions) - "this is a consulting issue"
It's a shame that the J2EE support is shi**y in the last few years )-:
Hope it will help others (-:
Omri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.