Action Condition LOOKUP not responding

Hello I have the following Condition placed on my grouped action and have used it many times but its not responding. I used quotes around โ€œAdministratorโ€ as well. Is there another way to configure this?

Thanks

0 7 270
7 REPLIES 7

Bahbus
New Member

What does it say/show when you click test for the expression?

Steve
Platinum 4
Platinum 4

Try this instead:

"Administrator"=LOOKUP(USEREMAIL(),"Users","Email","Role")

Hi Steve, this worked for the action thank you. But hereโ€™s something interesting, I used โ€œAdministratorโ€=LOOKUP(USEREMAIL(),โ€œUsersโ€,โ€œEmailโ€,โ€œRoleโ€) on a form Show If as well to prevent visibility to an administrator dashboard but when I use the editor preview the non-administrator user or user not on the list can still see the dashboard - Eek! Is there an issue with Editor Preview possibly?

How do i secure this ?

For a form view?

Yes see below. I was using my Preview as option on my editor to test visibility by non-Admin users and got this view which should not have been visible. Iโ€™m starting to think the Preview As is not accurate as I changed my Role to Sales vs. Admin and saw what I expected to see with the appropriate restrictions. What are your thoughts on the Preview As functionality - reliable?


2X_f_f4a2b9ebd4e944714c4845ade44452077e8a5bf1.png

I canโ€™t say, unfortunately. Iโ€™ve not had occasion to try it since the recent app emulator changes, and I donโ€™t know if those emulator changes affected the behavior of Preview as.

A viewโ€™s Show if property only affects the viewโ€™s inclusion in the main menu and in the navigation bar along the bottom of the app screen. Iโ€™m not sure whether it affects a viewโ€™s display within a dashboard. It does not hide the view from direct navigation via URL in a browser, from display as a starting view, or display by an action or navigation within the app.

Where are you seeing the view that should be hidden?

Iโ€™ve never been successful with the Preview As on the emulator.

Top Labels in this Space