Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
kammaje_cis
Active Contributor
Problem

Many a time we get requirements to disable Fiori Personalization. This mainly arises out of difficulty in supporting such users who have widely personalized their launchpad without any clue. Few examples are

https://launchpad.support.sap.com/#/notes/0002465437

https://archive.sap.com/discussions/thread/3532845

https://archive.sap.com/discussions/thread/3692065

So how to do it?

 

Solution 1

SAP's standard documentation provides a solution below.

https://launchpad.support.sap.com/#/notes/0002520812

Problems with this solution are

  • If you specify the personalization file in the URL, you might have to inform all the users to use a new URL. If the users access the Fiori Launchpad without specifying the personalization file, they will still be able to do personalization.

  • If you refer to the personalization file in the Fiori Launchpad, that would be a 'modification'. So whenever you upgrade, your modifications will be lost and you need to redo your modifications.


 

Solution 2

SAP ships a catalog with name /UI2/CONFIG_PERS_OFF. Assigning this to users will disable personalization to those users.

  • You no longer have to do the 'modification', so your changes are safe across upgrades.

  • Using Fiori config, you can decide which set of users have access to personalization.


 

Solution 3 (my favorite)

Another solution is to use Fiori Launchpad plugins and disable Personalization. This allows you to programmatically decide.

  • You no longer have to do 'modification', so your changes are safe across upgrades.

  • Using Fiori config, you can decide which set of users have access to personalization.

  • If the use case needs, you can programmatically decide to enable and disable personalization for a set of users.


Here is how to do it.

  1. Create a Launchpad plugin as specified in SAP documentation here. https://help.sap.com/viewer/webide-flpextensibility

  2. In the init function of the Component.js have these two lines of code.


//Diable Fiori Personalization
var renderer = sap.ushell.Container.getRenderer("fiori2");
renderer.getComponentData().config.enablePersonalization = false;

 

Note: Even though you have disabled personalization, current personalizations by the users still remain. To clear them, run /UI2/INVALIDATE_GLOBAL_CACHES in the Gateway server.
3 Comments
Labels in this area