cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide the page Tab in Build apps Preview page

vijay2346
Newcomer
0 Kudos
55

Hi All,

 

I want to hide few tabs to the User, only admin can see the all tabs. The rest user only see PER and approver Requests pages.
Where can i find the option to change the visibility of User to the Page tabs.

vijay2346_0-1737632757662.png

 

View Entire Topic
Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

I believe the way you do this is by creating custom navigation (i.e., the default navigation does not support this).

Here is a blog by @marihirvihttps://community.sap.com/t5/sap-builders-blog-posts/create-on-brand-navigation-experiences-in-sap-b...

Essentially you could do 2 ways, both involve disabling the default navigation.

  • You can create a container the contains icons or text that are the navigation menu, and set visibility to true/false based on whatever you decide, for example, some page variable that tracks the user's role. We did this here in our challenge 2 years ago -- and you can even download it to see it: https://community.sap.com/t5/sap-builders-discussions/april-citizen-developer-challenge-sap-build-ap...
  • You can use the marketplace component "Responsive navigation bar" with the custom navigation lists you can create (go to Settings > Navigation). Create a list for each role and then display that navigation based on the user's role. Essentially the same as the first but you hide/show an entire navigation bar. I don't like this one so much.

All of this is my understanding, but Mari will likely know more.