web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Show and Hide Button f...
Power Apps
Answered

Show and Hide Button from varEmailUser

(0) ShareShare
ReportReport
Posted on by 901

My apologies. being under a lot of stress with the solution. Is there a simple way to show a button based on a Login or Email?

 

Created - OnStart: Set(varUserEmail, User().Email) 

 

 

The scenario:

John Doe created a SharePoint item (If John Doe1 login, it shouldn't show the edit button for John Doe)

John Doe1 created a SharePoint item (If John Doe login it shouldn't show the edit button for John Doe1)

 

Please let me know if I did not explain myself clearly. As always, thank you.

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    oappdev Profile Picture
    901 on at

    I resolved the issue. using the following formula:

    If(Gallery1.Selected.'Created By'.DisplayName = User().FullName, true,false)

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard