Hello everyone!
I am having trouble with a security filter. In a single table I had 4 [Email] columns. I add an OR(USEREMAIL()=[Email1],USEREMAIL()=[Email2]โฆ) but is not working. Any advise on this?
Thanks!
In what way itโs not working?
This is the formula that I add in the security table: OR((USEREMAIL()=[Email1]),(USEREMAIL()=[Email2]),(USEREMAIL()=[Email3]),(USEREMAIL()=[Email4]))
I enter in the App with an email that is not inside thouse columns and is still showing all the data for that table.
I am looking at the App itself
@Aparicio_Pineyrua1 Is this in a prototype app, or a deployed app? If deployed, your licence may not permit the use of security filters.
Is it not deployed and I believe the owner of the App has a Premium account.
@Aparicio_Pineyrua1 did you try using the in() expression I gave you above?
I will try when I get home
@Aparicio_Pineyrua1 Iโm gonna guess youโve been bitten by the odd behavior of the = operator: if one of the operands is blank, the result is always true! So if any of the email columns is blank, the entire or() expression is true, regardless of the userโs email address. in() doesnโt suffer this problem.
I belief that could be the issue. I will check it later on. Iโll keep you update.
Many thanks!
What is the app name and account ID? I will check it. Thanks
Many Thanks! This works perfect!
Tryโฆ OR(USEREMAIL()=[Email1],USEREMAIL()=[Email2],USEREMAIL()=[Email3],USEREMAIL()=[Email4])
Not working Translate
Try:
IF( OR((USEREMAIL()=[Email1]),(USEREMAIL()=[Email2]),(USEREMAIL()=[Email3]),(USEREMAIL()=[Email4])), TRUE, FALSE)
Not working
@Aparicio_Pineyrua1 in(useremail(), list([Email1], [Email2], โฆ))
@Aparicio_Pineyrua1 Can you elaborate on โnot workingโ? Is Expression Builder giving an error? Or are all rows making it through? Or no rows? In what way is it โnot workingโ?
Hi Steven, I enter in the App as a co-author. The email that Iโm using as a co-author is not enter in any of the 4 [Email] columns in the table that I add te security filter, and when I enter in the App it still showing me the rows inside that table when it shouldnโt.
@Aparicio_Pineyrua1 That you are a co-author shouldnโt matter, unless youโre telling me youโre looking into the workbench/editor rather than the app itself, and the workbench is showing you the rows despite the security filter. Could you clarify for me?
I would expect the security filter to omit all rows within the app based on what youโve said.
User | Count |
---|---|
15 | |
9 | |
9 | |
7 | |
3 |