cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
omi18
Post Partisan
Post Partisan

Button visible property

Hello,

 

I'm trying to make a button visible if the user email meets the criteria. 

 

I have the current formula for visible property: if(user().email="xyz@abc.com"||"pqr@abc.com",true,false)

 

but somehow it's not working. 

 

Omi

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User
Super User

@omi18 
No IF statement is needed.  Make sure to use capital letters in User().Email.  Like this:

User().Email in ["xyz@abc.com","pqr@abc.com"]

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

1 REPLY 1
mdevaney
Super User
Super User

@omi18 
No IF statement is needed.  Make sure to use capital letters in User().Email.  Like this:

User().Email in ["xyz@abc.com","pqr@abc.com"]

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,209)