In the app there are three menus that can be accessed from the bottom, two of them are unique to a user using the show_if rule.
I understand that even with the rule, users would be able to access via a url, but some users are getting it in another way: open any form on the app, refresh the page in the browser (F5) and then click cancel in the form. The application will take the user to another view, which is usually the one with the show_if rule.
Is there any way to keep the menus at the bottom and prevent exploitation of this bug? I have already implemented security filters, but I would like to prevent users from accessing the menu anyway.
Sounds like they are getting to the UX โ Options โ Starting View by clicking cancel. You can control what this is a users default view using a formula. Hereโs one of mine:
IF(
Any(Select(User[Security Level],[Login Email]=UserEmail()))="Instructor",
"Courses 30days Instructor",
"Courses 30days Admin"
)
Hi Simon! Thank you so much for replying. Iโm already using an expression for Starting View, but it doesnโt work in the case I reported. It works in other contexts, but not in this one.
This is not a bug.
Hi Steve! Sorry, I was referring to the behavior I mentioned: refreshing the page in the browser in the form view and then hitting the cancel button takes the user to another view. The point is that this view that the app is taking is a hidden one. I understand that Show_if doesnโt prevent the user from accessing the view, but if he can access the way I mentioned, wouldnโt that be a bug? After all, none of those views are a Starting View and the user hasnโt accessed a url, action, or anything else that would take them to that view.
Maybe Iโm misusing something, but I havenโt identified anything wrong. I just wanted to keep the visions where they are today and stop this behavior. Any tips or recommendations? Itโs just that I imagine this scenario is quite common.
I believe it will be necessary to remove views from the bottom menu.
In my experience, in situations like yours, the user lands in the most recently created view of your app. Try creating a new hidden view that displays something benign and see if the user lands there instead.
Iโve tested it and itโs not taking to more recently created view. I also tested changing the positions of the views in the menu, but unfortunately it didnโt work either.
Iโm afraid I have no other ideas.
Also I got totally lost now, I thought the problemas was that the views were available in the bottom menu, but I moved these views to the hamburger button and the problem persists.
I donโt know why the action of canceling the form (after refreshing the page) is leading to these other views and not the Starting view.
I suggest you send screenshots of the App and together with the formulas for UX โ Options โ Starting View and any Show_Ifs on views
I can show the expression:
IF(COUNT(Profile_slice[ID])=0,โProfileโ, โHomeโ)
If the user did not created a profile within the app (just a short form), the Starting view is the Profile view, if the user already created a profile, the Starint view is Home. Home is a gallery view that user can use to go to another areas within the app.
UX>Localize. Set the โCancelโ text to a blank string โโ for a particular Form View to prevent most cases of it being clicked.
User | Count |
---|---|
43 | |
34 | |
24 | |
23 | |
15 |