Skip to Content
Author's profile photo Jerry Wang

Fiori launchpad page server side configuration

In this blog Why Adapt UI button is visible in some system but missing in some other system I have explained my analysis about one issue that I would like to use Adapt UI button to extend some standard Fiori UI, and this button is available in some system,

But missing in another system. My conclusion in that blog for this issue is that the necessary plugin sap.ushell.plugins.rta is not considered as valid by server, it is simply not included in server side configuration.
For example, in one system that the Adapt UI button is available, we can see this plugin in server side configuration data:
Now the question is, what configuration I need to do in server side to make this plugin available for my user?
Have a look at file FioriLaunchpad.html, there is a place holder ${SERVER-SIDE-CONFIG} defined:

When this page working as template is requested by client in the runtime, the real configuration data stored in server side is retrieved and stored in variable lv_server_side_config, and merged into the template file.
When I debug the logic how lv_server_side_config is populated, I find that among all available plugins stored in the shared memory, the plugin sap.ushell.plugins.rta is already there.

However it is marked as invalid because for this very plugin, the corresponding catalog id /UIF/SAP_RTA_PLUGIN is not assigned to my user.
After I manually added this catalog to the PFCG role assigned to my user, the issue is resolved:
I could see Adapt UI button now.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo SelvaKumar Mohan
      SelvaKumar Mohan

      Brilliant root cause find and resolution. Hats off.


      Author's profile photo Cristian Spoiala
      Cristian Spoiala

      Hello! I know it's been a while since you've written this article, but is it possible for you to specify where we could locate the backend code that contains the variable "lv_server_side_config" ?

      Thank you

      Author's profile photo Chengkun Kang
      Chengkun Kang

      Hi Jerry,

      Do you have any experience to enable Adapt UI btn for the FLP in Cloud Foundry?