Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to set a custom Theme to a particular App (Not launchpad)

I have created and built a custom theme for my fiori app(deployed on gateway server as BSP)  which works fine when executed from the URL by adding sap-theme parameter. But I want to use the original short URL for my Fiori App with the custom theme . Normally in index.html we give data-sap-ui-theme  but since here , I am not using index.html (using Component.js ) . 

If I use FLP parameter , it would change the theme for the whole launchpad which I don't want. I want this theme change to be app specific ie to my particular custom only. Is there any metadata property to be used inside Component.js for setting up theme id or any other way to achieve this.



Helpful Answer

Not what you were looking for? View more on this topic or Ask a question