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 News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,677)