Is it possible to hide or disable a single link in a bottom bar based on page or user
Question
Application Type
Mobile
Service Studio Version
11.11.9 (Build 46344)

I have a mobile app that I would like to hide or disable particular links in the bottom bar depending on what page is open or who the user is.

I like using the bottom bar but in some situations it is making things very messy


Thank you

mvp_badge
MVP
Solution

Yes, OML in attachment.


I added the parameter ShowEntry and used it on an If to control if the menu entry should be displayed or not:


Application1.oml

mvp_badge
MVP

Hi Andrew,


Have you thought about having input parameters on the menu to control this (something like an IsSettingsMenuVisible variable)?

In this way, you can reuse the BottomBar menu on different pages and configure it according to your needs for every screen.


Kind Regards,
João

Possible to give me an example.  I don't know how to change the visibility of the bottom bar

mvp_badge
MVP
Solution

Yes, OML in attachment.


I added the parameter ShowEntry and used it on an If to control if the menu entry should be displayed or not:


Application1.oml

That is what I was looking for exactly.  May I use your code in my app?

mvp_badge
MVP

You will need to adjust this to your use case but yes, it is that simple.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.