cancel
Showing results for 
Search instead for 
Did you mean: 

Correct sap-cssurl parameter for WDJ standalone custom themes

former_member182374
Active Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member182374
Active Contributor
0 Kudos

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

Answers (0)