cancel
Showing results for 
Search instead for 
Did you mean: 

Possibilities for allowing different Fiori themes for different set of user groups?

Former Member

Hi There,

In the SAP Portal it is possible to create rules ("Desktops and Display Rules") to allow certain user groups (AD groups) to see a different Portal theme/desktop compared to other user groups...

Do you perhaps know the possibilities and means by which this can be done for SAP FIORI themes in the SAP Gateway (SAP_BASIS 750 (5), SAP_GWFND 750 (5), SAP_UI 750 (5))? I don't want the end-users to select the theme themselves via “User Preferences” but rather force the different themes for the different users groups.

At the moment I can't find any documentation which tells me whether this is possible or not.

Your guidance and help will be greatly appreciated.

Regards Dries

antonette_oberholster
Active Contributor
0 Kudos

Hi Experts

I know this is an old question but we have the same requirement. Is a Launchpad plugin still the only way to achieve setting different themes for different user groups in SCP?

Regards

Antonette

Accepted Solutions (0)

Answers (4)

Answers (4)

timo_litzbarski
Participant

We wrote a Launchpad Plugin which sets the theme based on user data.

You could do it with

if(sap.ushell.Container.getService("UserInfo").getUser().getFirstname() === "John") {
    sap.ushell.Container.getService("UserInfo").getUser().setTheme("JohnsTheme");
} else {
    sap.ushell.Container.getService("UserInfo").getUser().setTheme("DefaultTheme");
}

Stupid coding, but I hope you get an idea 😉

To save the data against the frontend server:

sap.ushell.Container.getService("UserInfo").updateUserPreferences();
Former Member

Hi There,

I logged a call with SAP on this question. According to them the functionality for this requirement does not exist in SAP Fiori.

I see a definite business need for this, seeing the business units within the same company might each want their own brand (theme). SAP Enterprise Portal caters for this, but not SAP Fiori.

Both SAP Fiori and SAP Enterprise Portal allows for theming and personalization but where SAP Enterprise Portal allows for multiple rules with the possibility for different themes for different groups/users to be set, SAP FIORI unfortunately does not cater for this. I am still busy investigating if there are plans to include this for future releases.

Regards Dries

Former Member
0 Kudos

Hi Masa,

Apologies for only coming back now. Thanks for the reply. Yes, I have seen the blog that you referenced. I have also used the program "zfiori_theme" which is referenced in the blog.

What I encountered is the following:

When a new user access the system there is no personalization set for the user initially. Setting the theme for the user from an "admin" point of view via the program "zfiori_theme" can only be done if personalization was already done by the user, because the program "zfiori_theme" do not create the Personlization GUID. We are looking into creating a program that can do mass changes but firstly create the Personlization GUID for a user in SPERS_OBJ and then only set the theme for the user account. There is a lot to consider with regards to change pointers, etc.

Unfortunately the standard available programs/transactions from SAP/Customer configuration do not allow setting different themes for different users, although that is what we encountered.

Let me know if you differ from my view, please.

Regards Dries

former_member449290
Discoverer
0 Kudos

Hi Dries,

Did you manage to set different fiori theme for a user.

Regards

Satyam

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Dries,

How about setting personalize value ?

Fiori Default Theme / FLP Customizing default theme parameter and Personalization (SPERS_OBJ)(/UI2/U....

From end user point of view, I don't mind selecting a theme. It is my launchpad and not yours.

Regards,

Masa

Sharathmg
Active Contributor
0 Kudos

Hi Masa,

Is it not possible to use the settings of Launchpad to default a particular theme for the end user, based on user's role?

Like, We do not allow the user for the theme assigned but we control the theme assigned based on user's role.

Regards,

Sharath