on 05-09-2017 3:12 PM
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
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();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dries,
How about setting personalize value ?
From end user point of view, I don't mind selecting a theme. It is my launchpad and not yours.
Regards,
Masa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.