Show TOC

Setting the ThemeLocate this document in the navigation structure

Use

Web Dynpro applications in the portal automatically use the currently selected portal theme, and any user or role-based personalization of the theme.

You can change these settings for Web Dynpro applications by configuring Web Dynpro runtime as described in Configuring the Web Dynpro Runtime Environment .

Modify the properties as follows:

  • To use the Web Dynpro theme instead of the portal theme, set the sap.useWebDynproStyleSheet property to true .

  • To set the default Web Dynpro theme, modify the sap.theme.default property in the following format: http://<host>:<port>/<path to the theme>/<theme name>.

    For example: http://localhost:50000/irj/portalapps/com.sap.portal.themes.lafservice /themes/portal/sap_chrome.

You can select a theme for a specific application by adding the URL parameter sap-cssurl, which must be a valid, fully qualified and encoded URL to a theme. This overrides the default theme setting.

For more information, see Sending URL Parameters to Applications .