cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sventepe
Regular Visitor

Display Image received by custom connector via ASP.NET API

Hi,

I‘m using an Azure hosted ASP.NET API to deliver items from my backend to a PowerApps canvas app. Some items have images assigned to them. In those cases I supply the image ID, to download the image on demand with a GetImage(id) method. In this method I return the content in the HTTPResponse. This works so far. I can call the method from a browser and the image is being displayed. On a mobile device I can not use the URL directly, because the connection is secured by Azure AD. I need to receive the image using the method result of my custom connector. Unfortunately I cannot find a way to populate the image control with string containing the raw image data. How can that to be done?
I could return any other type in the API, if that solves the problem.
1 REPLY 1
v-micsh-msft
Community Support
Community Support

Hi,

 

Per my knowledge, I think PowerApps has no ability to display image with the actual base64 or the binary data.

 

The image is managed to be shown in the URL format.

 

The workaround here should be:

Upload the actual image file into OneDrive for Business, then create an excel file to maintain it:

Add images to Excel from PowerApps

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,983)