cancel
Showing results for 
Search instead for 
Did you mean: 

Filter Themes available for selection in Fiori Launchpad

thalesvb
Active Contributor

This question is a reboot-like from a very similar one from 2015, I don't know the original author but that topic quickly drifted into a not wise workaround solution: disable theme selection by end-user.

Many companies want to apply their logos into Launchpad. Big part of them only wants to do that, they are OK with color schemes, they only want simple UI branding. The only official way until now is to create a new theme and apply it for users. This is overkill in many ways (not the main topic, but worth mentioning):

  • Need to rebuild theme after each UI component upgrade (or wait someone report a failure to rebuild it)
  • On CRM UI this could be achieved by simply changing one SPRO-related URL parameter.
  • If I also want to apply the logo on a acessibility-friendly theme, I need to create another theme. And then rebuild it too after each UI component upgrade.

(I can't even safely hack logo URL into Reverse Proxy rules to load my own resource due path being hashed for NW cache purposes, so only theme creation remains as solution for changing company logo).

Moving on, we already had one branded theme (theme selection disabled) and now I want to add a accesibility-friendly one for end-users pick whenever they need it. It's already 2020, this topic is more important than ever, and now i had some time to reinvestigate this again.

The trouble now begins: I want only our themes be available for selection at Launchpad settings, removing all the standard ones from selection list (since they use SAP logos).

I tried first to find a Note or Help pages about this topic: no results. Then searched through questions, where I found the one I mentioned at the beginning (but also without a proper answer).

This requirement is still impossible to achieve by any configuration/BAdI?

Have you also asked to fulfill this same requirement in the past and gave up? Give your thumbs up and comment it too. I am dealing with it at on-premise Launchpad (SAP_UI 7.52).

Best regards

(I already found on debug how to fulfill this through implicit enhancement, but I still have some hope of a prettier way to do it. I can blog it later if no official way is available).

thalesvb
Active Contributor
0 Kudos

I can't edit original question to provide a better graphical representation of what I wanted to do, so here it is:

Theme selection by user should be possible because company will have 2 branded themes: a normal one and a High Contrast (accessibility).

I want to remove SAP standard themes from list (or make them unavailable for selection by other means).

Accepted Solutions (0)

Answers (2)

Answers (2)

Oliver_Baer
Explorer
0 Kudos

You can find my solution here:

https://answers.sap.com/answers/13231485/view.html

BR, Oliver

cris_hansen
Advisor
Advisor
0 Kudos

Hi Thales,

Have you tested the possibilities from this SAP Help page (specifically renderers/fiori2/componentData/config/enableSetTheme)?

I just started to look for this, so I'll come back later (with a comment) to share whether I found something else.

Regards,

Cris

cris_hansen
Advisor
Advisor
0 Kudos

Found KBA:

2523330 - How to disable theme selection in Fiori

Maybe it helps.

thalesvb
Active Contributor
0 Kudos

Hello Cristiano,

Yes I had tested. Actually we have that parameter set on system. The image from my question was misleading what I wanted to do, sorry about it. I uploaded it on question comment (more visible) since I can't edit answer anymore.

We are adding a High Contrast branded theme for accesibility, so I have to revert that restriction and allow users to choose from Appearance settings, but this also allows them to pick SAP themes, something that we don't want to happen (since they are SAP branded).

If a parameter like availableThemes (that allowed to specify a list of themes that should be available for selection) existed I had this problem solved, but yet I didn't find anything like that on parameter list from Help Page or Fiori configuration guides.

Thanks for your time

cris_hansen
Advisor
Advisor
0 Kudos

Hi Thales,

Ok, I see your point.

I didn't find a way to do it (via report, transaction or parameter). Sorry.

Regards,

Cris