
Announcements
I want to disable (make unclickable or unselectable) an image based on a condition in Power Apps, you can use the Display Mode property. Setting the DisplayMode to "View" will make the image unselectable.
I have used this:If(User().Email = "specificuser@example.com", DisplayMode.Edit, DisplayMode.View)
but still its shows "view" for specficusers.it should show editmode
anyone can help me out it
Hi @venky7890
Maybe try this Lower() function because it is case sensitive:
If(
Lower(User().Email) = "specificuser@example.com",
DisplayMode.Edit,
DisplayMode.View
)If you have any questions or feedback, please let me know. Have a great day! 😊
-----------------------
PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]
I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻