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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to set up the icon...
Power Apps
Answered

How to set up the icon in a modern button canvas app?

(0) ShareShare
ReportReport
Posted on by 565
Hi there,
 
Is there any way to set-up the icon in a modern button?
 
I have a collection:
 
ClearCollect(colMainMenu,
 
{Name:"Hardware", Order: 1 , ID: 1, Icon:Icon.Print },
 
{Name:"Software", Order: 2 , ID: 2, Icon: Icon.Save})
 
 
And in a gallery I put a button and I want that the icon of the button takes the value from the collection:
 
ThisItem.Icon
 
But the icon is not working and it shows just a circle.
 
 
What am I doing wrong?
Thanks for any help!
 
 
Categories:
I have the same question (0)
  • Suggested answer
    MS.Ragavendar Profile Picture
    4,983 Super User 2025 Season 2 on at
    Great observation its wierd issue but this will be the work around for your case.
     
    Instead of setting up the Icon property, I concat both icon and Name in the Text property.
     
    Hope this will helps you!
     
  • Verified answer
    jrletner Profile Picture
    720 Super User 2025 Season 2 on at
    Modern buttons are a bit different. You don't actually use the Icon.Print. You just enter "Print". So your collection will just store that text value "Print". 
     
     
    See if that doesn't help fix your issue.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard