Hi,
I have a button in my gallery (connected to SP List) ... I want to show the button if the current login user is Project Manager (Project Manager is people Picker column in my SP List)... I used the below condition on the visible property of the button ...
However I am not able to execute this .. its giving me a message that "This formula uses scope, which is not presently supported for evaluation" ... please help me on this. ....
If(ThisItem.PROJ_QE.Email = User().Email, true, false)
PROJ_QE -- Project Manager People picker column.
Hi @Anonymous ,
Is the Project Manager person column in the same list as the data source of the Gallery?
If it is, you'd better use another Lower function to eliminate the interference of case. Below are the steps:
1. OnStart of the App:
Set(varEmail,Lower(User().Email))
2. Visible of the button inside the Gallery:
If(
Lower(ThisItem.'Project Manager'.Email) = varEmail,
true,
false
)
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Check to make sure your picker and your user data both display properly on the form. If they both resolve cleanly (i.e. data types match and are simple), this should not be an issue.
WarrenBelz
89
Most Valuable Professional
Michael E. Gernaey
72
Super User 2025 Season 1
mmbr1606
71
Super User 2025 Season 1