Skip to Content
avatar image
Former Member

Fiori Launchpad Configuration - issue with referencing config file in FioriLaunchpad.html

I am exploring the launchpad configuration options to disable Personalization options like move, rename, delete, reset or create new groups. In addition, disable the ability to change Theme under user preferences.

As SAP help suggested multiple approaches, I have started working on the approach to copy the out of the box fiori launchpad(BSP name: /UI2/USHELL) to custom BSP application(YTEST) and edited the files PersonalizationOff.json and FioriLaunchpad.html. These edits were carried out in the copied application in the sandbox.

When the custom launchpad is launched, Configurations maintained in PersonalizationOff.json file, which is referred in the FioriLaunchpad.html were not applied as expected.

Below are the screen shots of the   PersonalizationOff.json , FioriLaunchpad.html and error that was captured into console.

Any inputs to have PersonalizationOff.json setting applied to custom launchpad is much appreciated. Thanks.

LPAD.GIF (40.7 kB)
JSON.GIF (32.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Mar 03, 2015 at 03:39 PM

    Dear Anil,

    As the name suggests in the "serverConfigurationFolderWhitelist" JS object you should specify the the list of FOLDERS (string-value pairs) which are considered to be permitted.

    You specified the name of config file instead of the folder's.

    In this case the launchpad bootstrap considers the /sap/.../PersonalizationOff.json directory the permitted one (which obviously not present)

    So basically the config file you specified does not match any of the items in the white list.

    Long story short: delete "PersonalizationOff.json" from the corresponding white list item and it would work fine.

    Regards,

    Adam

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 11, 2015 at 07:18 AM

    Hi ANil,

    Were u able to resolve the issue ??

    Actually im faacing the similar issue. I want to know where to add the parameters inside fiorilaunchpad.html file?

    Once i added im getting the sysntax error.

    Regards

    karthik

    Add comment
    10|10000 characters needed characters exceeded