Skip to Content

How to set a theme parameter to SAP Fiori launchpad

Please share your ideas and solutions for setting a theme parameter to SAP Fiori launchpad.

Feel free to edit this page.


URL string is long for setting a theme parameter to SAP Fiori launchpad. Users won’t type URL string and you have to give a easy way for setting a theme parameter.

Full URL string:



Reference: How to setup your company logo in SAP Fiori launchpad


There are several ideas to give easy access.

  1. Embedded hyper link in Corporate web page. – User just click the link and link has full URL.
  2. Set default theme parameter SAP_FLP-THEME
  3. Using URL shotener tool. – There are several tools in the market.
  4. Using proxy server re-writing. – Proxy server will add a theme parameter.
  5. Specify a theme in bootstrap of app
  6. Hard coded in index.html. – You can set it without asking your IT network team.

Example 2: Set default theme parameter SAP_FLP-THEME

System default theme is defined in the transaction /UI2/NWBC_CFG_SAP.


You can chnage the system default in the transaction /UI2/NWBC_CFG_CUST.


Call Fiopri launchpad without theme parameter.


The custom theme is set from SAP_FLP-THEME in the transaction /UI2/NWBC_CFG_CUST.


Example 6: Hard coded in index.html and starrt launchpad with /fiori.

This is just an example for starting SAP Fiori launchpad with a theme parameter by https://<host>.<domain><port>/fiori .

Theme parameter is specified in the index.html.


1. Define external alias for Unified Shell service. Unified shell is technical name for SAP Fiori launchpad.

Transaction: SICF

Search Unified Shell service


Go To External Aliases


Select the default_host and create a system alias


External Alias name is /fiori. Target Element is /default_host/sap/bc/ui5_ui5/ui2/ushell.




/fiori is created.


2. Create index.html and hard code the full URL.

Transaction: SE80

App: /ui2/ushaell



Write short HTML code. This load Fiori launchpad with a theme parameter.




    <script language=“JavaScript”>
    function loc(){window.location = “shells/abap/Fiorilaunchpad.html?sap-theme=<theme>@https://<host>.<domain>:<port>/sap/public/bc/themes/~client-<client>”;}
<body onLoad=“loc()”></body>





3. Test the URL on browser.


Your theme is applied.


You must be Logged on to comment or reply to a post.
  • Hi Masa,

    Thanks for sharing such a nice document.

    I have an idea to set the theme parameter for not only launchpad but also all the Fiori Apps.

    As per my experience, after working in this domain, let us assume a scenario where a customer/partner will have specialized graphics designer to create themes. Graphics designer will design the theme for fiori app and If he has rights to access the theme builder he/she will make changes accordingly or the fiori admin will do this job.

    Now there may be the scenario, that customer wants to have different themes for different apps and also wants that user can choose his/her choice of theme. ( like we do with Gmail)

    Thems Option.PNG

    To achieve this, we can provide an option on Launchpad to choose a theme. This will set theme parameter in the launchpad’s landing page. (index.html/main.html) For fiori applications we can inherit the theme parameter which has been passed from the launchpad. or we can provide same option for applications also. This solution will also work in case of custom apps.

    To make the selection of theme permanent, of course we need to save those user specific values in the back end else we can pass the default one.

    The main advantage of this approach is to reduce the maintenance of URL. After launching the application/launchpad, application does not require to worry about the theme set in URL.

    It will give user a freedom to choose ( or build in future) his/her own theme.

    Apart from all this, we know that fiori is made for Keeping simple things simple 🙂 .. but you never know the end user’s expectations 🙂 they always want more n more…

    I hope the above idea make some sense.. 🙂

    Thems Option.PNG
  • Its a good idea too. I have a scenario where each of the Apps need to be launched from corporate application. Hence, we would be asking the team maintaining the corporate application to launch each of the Fiori Apps with the theme as a parameter.

  • Hi Masa,

    excellent info, thanks for that.

    The 2nd part (create index.html in ushell) would be a modification, right?

    At least, I get an request to add the object access key…



  • I would consider using window.location.replace( ) instead of simply setting it.

    This avoids the ugly “cannot-navigate-browser-back via this page” effect as the
    start page is not put into the browser history.




        <script language=“JavaScript”>
        function loc(){window.location,.replace(“shells/abap/Fiorilaunchpad.html?sap-theme=<theme>@https://<host>.<domain>:<port>/sap/public/bc/themes/~client-<client>”);}
    <body onLoad=“loc()”></body>


  • Hi Masa,

    I am getting the below peculiar issue while using custom theme for launchpad.

    The top left is expected but the bottom right is the actual screen appearing.


    Kindly help me regarding this issue.



    • Hi Bharanidharan,

      I am facing the issue similar to yours.

      Could you please help me in resolving the same at the earliest?

      I have already tried reseting the profile parameter value for the variable /UI2/USER_PROFILE.


      Sumit Jindal

      • Hi Venkat.

        Please do not resurrect old threads. This is against SCN Rules of Engagement. Correct approach is to post a new discussion & include a link to the old discussion. This is the fastest way to get an answer based on CURRENT advice & options



        • Not to mention that unless you are asking for clarification/correction of some part of the Document, please create a new Discussion marked as a Question.  The Comments section of a Blog (or Document) is not the right vehicle for asking questions as the results are not easily searchable.  Once your issue is solved, a Discussion with the solution (and marked with Correct Answer) makes the results visible to others experiencing a similar problem.  If a blog or document is related, put in a link.  Read the Getting Started documents (link at the top right) including the Rules of Engagement. 

          NOTE: Getting the link is easy enough for both the author and Blog.  Simply MouseOver the item, Right Click, and select Copy Shortcut.  Paste it into your Discussion.  You can also click on the url after pasting.  Click on the A to expand the options and select T (on the right) to Auto-Title the url.

          Thanks, Mike (Moderator)

          SAP Technology RIG

  • As an addition:
    The Fiori Launchpad allows user to personalize themes.
    Setting the default theme will not affect users who have (or had) previosly selected a differnent theme.

    To reset these users to the default theme, one has to delete their personalization data of

    key /UI2/USER_PROFILE  ( see SU01 -> tab personalization).

  • Hi,

    I followed all the step, had reset the   /UI2/USER_PROFILE in SU01 ->Personalization, yet the logo is not changing. I do have cleared the browser cache as well.

    UI5 version used is – 1.44.

    Could you please help. Waiting for the response.


    Thanks & Regards,


  • Hi Masa,

    I have followed the steps to define short URL for SAP Fiori but I am getting below error.

    SAP Fiori URL: http://<hostname&gt;:<port>/fiori/index.html  –> I can see below messages on window.

    <%@page language=”ABAP”%>

    I removed this entry from index.html then I can see blank screen.


    Please help me.