Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Can you use a built-in icon as source for an image?

(0) ShareShare
ReportReport
Posted on by 241

For example, by setting the Image property of my image control to " If ( IsBlank( item.'Entity Image' ), Icon.Camera, item.'Entity Image' ) "? 

I know this example construction doesn't work since I tried it, but is something like this possible? It would be easier than adding a separate icon control that you impose on top of the Image control whenever the image is blank.

Categories:
  • MrNappa Profile Picture
    241 on at
    Re: Can you use a built-in icon as source for an image?

    Thanks, I have posted a suggestion.

  • Verified answer
    v-yutliu-msft Profile Picture
    on at
    Re: Can you use a built-in icon as source for an image?

    Hi @MrNappa ,

    Do you want to use the internal icon's image to update image field?

    I'm afraid it's not supported in PowerApps currently.

    Because the icon property is an input property and could only be used to set the icon itself.

    If you use this property outside, it will be invalid.

    For example, I set an image control's Image to Icon.Add, it display blank.

    117_LI.jpg

     

    I suggest you express your views about using internal images on PowerApps Ideas Forum. Your precious feedback will be very helpful for our work.

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

     

    As an alternative way, I suggest you upload some local images to use.

    In media pane, choose browse , select the default images that you want.

    1172.PNG

     

    Then, you could use these images when the entity image is blank.

    For example, your uploaded image named addimage, try this formula:

    If ( IsBlank( item.'Entity Image' ), addimage, item.'Entity Image' )

     

     

     

    Best regards,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard