cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Skilled Sharer
Skilled Sharer

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

Hi @nliu 

 

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

View solution in original post

2 REPLIES 2
Highlighted
Skilled Sharer
Skilled Sharer

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

Hi @nliu 

 

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

View solution in original post

Highlighted
Helper II
Helper II

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

Thank you !! @panand99 


@panand99 wrote:

Hi @nliu 

 

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


 

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,337)