cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Lauchpad Plugin Project - Disabling button in ME area in flp shell

GowthamRaja
Participant
0 Kudos

Hi Experts,

I need to make the button signout as not visible in ME area in FLP shell. i have written the code in component.js file in flp plugin project as below

oRenderer.hideactionbutton("id of the button", false, false, false, false);

After deployment the applicaiton is working fine which is not showing the signout button for the first time but after refreshing the page the button is visible.

I need to make the button permanently not visible even after refreshing the page.

Please help to resolve the problem.

alon_barnes
Explorer
0 Kudos

Hi,

Can you provide more details about the issue:

1. What do you mean by "the applicaiton is working fine which is not showing the signout button for the first time"? what is first time? After login to the system?

2. When you say "but after refreshing the page the button is visible", what does refresh mean? Clicking on F5 and refreshing the entire page?

Thanks,

Alon

Accepted Solutions (0)

Answers (2)

Answers (2)

Aparna_N
Product and Topic Expert
Product and Topic Expert
0 Kudos

As per, https://help.sap.com/viewer/a7b390faab1140c087b8926571e942b7/7.52.0/en-US/225b7ba01e0349f5a60dfe7d15... -> Tip

renderers/fiori2/componentData/config/disableSignOut must be set to true to hide the Sign Out option.

Default value: false

DK007
Active Participant
0 Kudos

Hi,

To disable/remove Sign Out option, you can do it through launchpad config without any code or plug-in..

Create a target mapping with Shell-bootConfig intent and use below parameter:

renderers/fiori2/componentData/config/disableSignOut set it to false

Make sure to assign this target mapping is assigned to a role through catalog.

Using this approach most of the FLP settings can be configured.

Let me know if you need more details.

Thanks,

Dheeram