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 / Hide "Icon" in edit sc...
Power Apps
Answered

Hide "Icon" in edit screen based on clicking "button" in admin screen.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have three screens. Input, Edit, Action. any user can input the data and it move to edit screen where in this screen i added "save, delete and navigate" icons. once end user inputs the fields and move to edit form screen where user can able to delete the record, before it move to the action screen but once the record has been move to the action screen and the admin clicks the Accept button means the only registered user has the access to delete the record in Edit Screen. So once admin click "accepts"  the "delete icon" in the edit form wants to disable. Im using Excel as a datasource. Please help me.

 

 

 

Thanks in advance.

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at
    @Anonymous
    Put this code in the Visible property of your icon to make it hidden for everyone except the registered user

    User().Email = “jsmith@companyname.com”

    —-
    Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for the reply.

    I need an icon that wants to display for both user and admin. user can delete  until the record moves to the admin screen. But once the record moves to admin screen there i used "accept button"" is clicked in that case admin only can delete the record. user has no option to delete.

  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at
    @Anonymous
    My code above will work but I think you might have some misunderstanding about this piece

    User().Email

    This code detects who the current person running the program is and gets their email address. It doesn’t matter if it’s a normal user or an admin it works for everyone.

    Now please try the code in my original post in the Visible property of your Accept button.

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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard