Edit Action Still Displaying with Expression to hide based on User

Hi All,

I have a tried two expressions to only display the edit action when a user's email matches the email column for a detailed view. I don't want the user to edit rows of data that related to them. Any idea why the action is persisting on any detail view?

Tried:
1. USEREMAIL() = Lower([primaryEmail])

2. AND(
CONTEXT("ViewType") = "Detail",
USEREMAIL() = LOWER([primaryEmail])
)

Screenshot 2023-11-08 at 1.30.01 PM.pngScreenshot 2023-11-08 at 1.30.50 PM.png

Solved Solved
0 1 130
1 ACCEPTED SOLUTION


@lochtefeldm wrote:

I don't want the user to edit rows of data that related to them.


Your words are saying that you DO NOT want to allow a user to edit a row where they are listed as the PrimaryEmail.

You expression is indicating that DO want to allow a user to edit a row where they are listed as the PrimaryEmail.

Assuming your words are more accurate 😁,  Try changing the expression to:

NOT(USEREMAIL() = [primaryEmail])

 

View solution in original post

1 REPLY 1


@lochtefeldm wrote:

I don't want the user to edit rows of data that related to them.


Your words are saying that you DO NOT want to allow a user to edit a row where they are listed as the PrimaryEmail.

You expression is indicating that DO want to allow a user to edit a row where they are listed as the PrimaryEmail.

Assuming your words are more accurate 😁,  Try changing the expression to:

NOT(USEREMAIL() = [primaryEmail])

 

Top Labels in this Space