cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nliu
Helper II
Helper II

How to change an icon color when an attachement is added ?

Hello,

 

I would like that my camera icon changes color when an attachement file is added .

 

How can I do ?

 

I tried with this formula Iconecamera.png

1 ACCEPTED SOLUTION

Accepted Solutions
panand99
Impactful Individual
Impactful Individual

Hi @nliu 

 

You need to use - if(ThisItem.'{HasAttachments}',green,red)

View solution in original post

2 REPLIES 2
panand99
Impactful Individual
Impactful Individual

Hi @nliu 

 

You need to use - if(ThisItem.'{HasAttachments}',green,red)

Thank you !! @panand99 


@panand99 wrote:

Hi @nliu 

 

You need to use - if(ThisItem.'{HasAttachments}',green,red)


 

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (1,839)