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 / Using details list: is...
Power Apps
Answered

Using details list: is it possible to toggle icons?

(0) ShareShare
ReportReport
Posted on by 2,297

Hello,

 

I'm using a details list to show an icon (lock/unlock).

 

I wonder if it is possible to have this icon to show the lock and the unlock alternatively:

WebPortal_0-1701771153473.png

 

This is static icon, would it be possible to have it dynamically?

Categories:
  • Verified answer
    BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @WebPortal ,

     

    You can do this by setting a condition in the Icon property of the Icon control:

     

    If(
     <condition>,
     Icon.Lock,
     Icon.Unlock
    )

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard