on 03-09-2015 11:28 PM
Hello All,
I created a custom theme with the company logo. This custom theme is based on the standard SAP Blue Crystal theme. Applied to Fiori Launchpad using the URL parameter sap-theme and it works well.
One additional requirement is to prevent the users from selecting the standard SAP themes from the user preferences option in the launchpad. I would like out know if there is an option to filter out all the standard SAP themes from the User Preferences.
I debugged the INTEROP service and found that the themes are loaded based out of a JSON file and parsed. Later all the themes that are not applicable to SAPUI5M theme are deleted. This leaves us with 1) Custom Theme we created 2) SAP Blue Crystal Theme (standard) 3) High Contrast Theme (Standard). One option is to write an implicit enhancement to filter the records that we want but this is not the cleanest approach.
Looking for ideas from the group.
Thanks in advance.
Vinay Kanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is also a nice blog:
Hi Nigel/Frank
How do you restrict the themes that are available for users to choose?
Any idea?
Thanks in advance,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Frank: How would we know when this change is available? Can you direct me to the link where i can review the latest changes coming in for FIORI/FLP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
new features/changes will be included in the release notes.
E.g. What's New in SAP Fiori Launchpad - What's New in SAP NetWeaver 7.4 (Release Notes) - SAP Library
Best regards,
Frank
Frank Gales do you have a more direct link to this solution? I am looking for this exact solution (to filter out SAP themes and only show custom themes) and google isnt cutting it for me.
Cheers,
Nigel
cc Simon Kemp
Hi Nagur,
Please consider my answer to this thread.
I believe that a possible way to avoid FLP theme changing may be through disabling end user personalization.
Regards,
Vicente
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think the issue is that we still want personalisation to be active, allowing the user to choose between 2 or more custom themes, but excluding the SAP standard blue crystal and high contrast theme from the list. If you de-activate personalisation, the user will not be able to choose another custom theme. The only way I found around this issue was to temporarily create an implicit enhancement in method /UI2/CL_GW_ABSTARCT_DP->GET_ENTITYSET and removed the 2 sap standard entries, leaving my 2 custom themes.
Based on Frank Gales's comment above, a Standard solution is being currently being looked at by SAP.
Regards
Jandrie
I also have the same issue. We have two custom themes, a dark theme and a light theme, so we still want the user to be able to choose either light or dark, so we can not simply disable personalisation. It is however showing up with with 4 themes, dark, light, blue crystal and high contrast. We want to get rid of blue crystal and high contrast.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nagur,
Did you get a solution for this? I am also looking for a way to control the themes that are displayed to a user, for example I do not want the user to be able to select the standard SAP theme.
Sure we can disable the option, but that means they cannot choose any theme (sledgehammer approach), surely there must be some way to assign themes based on user/role.
Anyone?
Thanks,
Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can disable the end user personalization
caution - disable the personalization using configuration file, not directly in the launchpad.html ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandip
I want to disable the User Personalisation option from my Fiori Launchpad. How can I edit the configuration file? Following is the personalization.json file. Kindly guide.
{
"documentation": {
"description" : "This sample configuration disables the ability to personalize the homepage (e.g. move tiles, create groups)",
"configURL" :"https://<host>:<port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/cfg/sap/PersonalizationOff.json",
"startupURL" : "https://<server>:<port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=<client>&sap-ushell-config-url=cfg/sap/PersonalizationOff.json",
"localStartupURL" : "http://localhost:8080/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-ushell-config-ur..."
},
"renderers": {
"fiori2" : {
"componentData": {
"config": {
"enablePersonalization": false,
"enableTagFiltering": false,
"enableSetTheme": false,
"enableAccessibility": true,
"enableSendFeedback": false
}
}
}
}
}
Regards
Parth
Hi Sandip
What do you mean by caution - disable the personalization using configuration file, not directly in the launchpad.html ...
The configuration part is in the Launchpad.html and you need to change the sap-ushell-config-url parameter to point to the PersonalizationOff.json
Maybe i am getting it all wrong.
Thanks and kind regards
Moved from SAP for Mobile to SAP Fiori community since topic is Fiori.
Regards, Mike (Moderator)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Below are some of the options
1. I think creating custom roles for your custom theme should allow users to see only the Custom theme.
2. Create a role for users which will restrict them to use the personalization options, thus avoid selecting standard roles
Authorizations - User Interface Add-On for SAP NetWeaver - SAP Library
Regards,
Tejas
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.