I have restricted access (to specific Users) to a View using expression in the 'Show if'. However if that View is included as 'Starting View' of the App then above restriction do not apply when the App is loaded for the first time in a device. The above restriction should have been applied.
Solved! Go to Solution.
Did you try using the flask icon to reproduce a condition that will match your expectations?
For reference:
Please note the Starting view only apply on the very first connection of the user.
Choose the launch page for an app - AppSheet Help
View settings: The Essentials - AppSheet Help
What type of view is it and what is your Show If condition?
Did you try using the flask icon to reproduce a condition that will match your expectations?
For reference:
Please note the Starting view only apply on the very first connection of the user.
Choose the launch page for an app - AppSheet Help
View settings: The Essentials - AppSheet Help
@Aurelien thank you.. No I did not use flask icon and Switch() (as shown by you) in the Starting View for restricting access.
Your reply affirns one of my conclusion. I also concluded that option available to me is to change the starting view to a no restriction view for example an App Launch View.
And from your reply I understood that, Or else I need to apply the restriction on Starting View too.
@SanjivAgarwal wrote:
I need to apply the restriction on Starting View too
This is not necessary.
From my understanding, you just need to set conditions on your views (if you wish to prevent users from accessing it), and use a SWITCH() or IFS() expression to make the user start his experience on the right view.
Ok understood. Thank you.
So you mean the button to open the view is still visible even the Show? should hide it?
Yes visible till the user selects any of the authorised view.
As mentioned by @Aurelien the starting view works upon initial loading of view, I ended up also setting a rule on show_if for each individual view to ensure if a user somehow lands on a role restricted view page, its blank until user selects next authorised view.
User | Count |
---|---|
42 | |
33 | |
24 | |
23 | |
14 |