Skip to main content

We have a View that has 8 different toolbar buttons on it that act and look like a Navigation/Menu bar. This Navigation View appears on each Form along with other Views relevant to that Form/page.  When a toolbar button is clicked on the Navigation bar, it navigates to the form associated with that toolbar button and then the Navigation View among the other Views load for that particular Form.

 

Because of security, certain toolbar buttons are not visible to certain users on the Navigation View. So we have an issue where each time the a toolbar button is clicked and the user is navigated to a new Form, the Navigation View displays all the toolbar buttons, then hides some of them based on the user's role which is grabbed from a SmartObject on Form Initializing rule. We tried making the Toolbar Buttons invisible on load however that caused the Navigation toolbar buttons to fully disappear and reappear which was more distracting than just some of the toolbar buttons reappearing and then disappearing again.

 

Does anyone have a workaround for this issue or have a more efficient way of creating a navigation/menu view that have certain buttons visible or hidden based on the logged in users role?

Hide and show the view instead of the buttons?


Hiding and showing the entire view also resulted in a flashing effect on the screen as now the entire view disappears and reappears as we navigate through each page.


Reply