web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps, get item pi...
Power Apps
Answered

PowerApps, get item picture from Business Central

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I all, 

 

I'm creating a canvas app that permit to create quote lines in the Dynamics 365 Business Central application. 

I've added the Business Central connector on my canvas app to get the items as we can see below :

dos757_1-1627041484070.png

What i need now is to get the picture of the selected product. This picture is visible on the Business Central solution as we can see here : 

dos757_2-1627041650815.png

 

How can i get this picture to store on the image control of my selected item via PowerApps ? 

 

Many thanks

 

Best regards, 

 

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I've finally found a way to get the content of the picture via a Power Automate that do a HTTP get request. 

     

    Here's the http method

    GET https://{businesscentralPrefix}/api/beta/companies(companyId)/items(itemId)/picture(itemId)/content

     

    It givings me a content ID very long ! 

    What can i do now to format it into base 64 ? 

     

     

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I've finally found a way. 

    Via Power Automate, i do an HTTP GET request to get the content of the item picture.

    This content is returned to my app as a response from Power Automate. 

     

    Then in the image control i'm doing the following in the image property : 

    "data:image/jpeg;base64,"&getBCImgContent.imgcontent

     

    getBCImgContent is the variable that contain the PowerAutomate run 

    imgcontent is the variable that contain the result given by the Power Automate 

     

     

    Best regards,

     

  • mbc1998 Profile Picture
    14 on at

    what trigger did u use for the automate?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard