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 / want to hide and on al...
Power Apps
Unanswered

want to hide and on allow to edit.. how to?

(0) ShareShare
ReportReport
Posted on by 1,994

HI

 

I have a card A when there is numbers, I want to disable all the edits including the icons expect the copy icon

how to?

 

user can only view .  This is in a gallery

 

bbsin_0-1622688328262.png

 

If( CardA.Selected.Value,true, false) ??  

 

Categories:
  • ganeshsanap Profile Picture
    1,555 on at

    @bbsin You want to disable or hide the icon?

     

    To Disable:

    Try using below formula on DisplayMode property of icon control:

     

    If(IsBlank(CardA.Selected.Value), Edit, Disabled)

     

     You can also make it View instead of Disable as per your requirements. Check all possible values of DisplayMode properties.

     

    To Hide:

    Use below formula on Visible property of icon control:

     

    If(IsBlank(CardA.Selected.Value), true, false)

     


    Please click Accept as solution & ‌‌👍 if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it ‌‌👍

     

    Best Regards,

    Ganesh Sanap

    Blog site 

  • bbsin Profile Picture
    1,994 on at

    @ganeshsanap 

     

    hi,  there's errors?  I want the record to be view.. the icon to hide thanks

     

    bbsin_0-1622700209122.png

    1.PNG

     

    thanks

  • ganeshsanap Profile Picture
    1,555 on at

    @bbsin What is the error message when you hover on it?

     

    If IsBlank is not working, try using IsBlankOrError. 


    Please click Accept as solution & ‌‌👍 if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it ‌‌👍

     

    Best Regards,

    Ganesh Sanap

    Blog site 

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 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard