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 / Expense report receipt...
Power Apps
Unanswered

Expense report receipts from Powerapps to Dynamics 365 Finance and Operations

(0) ShareShare
ReportReport
Posted on by 39

Hi Community, 

 

I am currently working on an expense report app connected to Dynamics 365 F&O and have a question. I have read plenty of blogs and documentation on how to send pictures from Power Apps to a data source, but i haven't yet fully figured out how to achieve this when adding a file or picture from Power Apps to an expense line in F&O using the "Add picture" function. I know it is easily done with power Automate when using the capture photo/media function, but my problem, along with many others, is that the "Add Picture" function stores the picture in a blob storage format only for as long as the app is open. I need it to be in a binary/base 64 format. So then, how can I convert a picture/file in Power Apps to the right format that is required in F&O? 

 

Best,

Cathrine

 

Categories:
I have the same question (0)
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @CathrineB ,

    Do you want to update images to Dynamics 365 Finance and Operations?

    Could you tell me where do the images data come from?

    1)If it is taken by camera control, the data will be save as binary.

    You could use "camera name.Photo" to represent the captured pictures.

    You could also save the captured pictures in a collection to use.

    Collect(pic,{data:camera name.Photo})

    2)If it comes from local by using Add Picture control, the images could be saved in collection as binary too.

    You could also save the adding pictures in a collection to use.

     

    Collect(pic,{data:UploadedImage1.Image})

    What's more, if you want to the collection stored image binary data when you open the app, I'm afraid it's not supported.

    You need to act action like "choose images" in add picture control or "take picture" in camera control, then the image data will be saved in powerapps.

    Just opening the app is not enough.

    After you save the images as binary, you could use flow to update data.

    Here's a similar issue for your reference:
    https://powerusers.microsoft.com/t5/Building-Power-Apps/Uploading-Image-to-Dynamics-365-through-PowerApps-Microsoft-Flow/td-p/182767

     

     

    Best regards,

     

     

  • CathrineB Profile Picture
    39 on at

    Hi,

     

    Thank you for your response. 

    Yes, the user should be able to update records in Finance and Operations with pictures using the "Add picture" control. 

     

    I cant seem to save the picture from the "add picture" media control seeing that the error message persists, saying that it cant convert the picture from the collection to "edm.binary". 

    ClearCollect(ColPhoto,{data:UploadedImage2.Image})

     

    Do you know how I can ensure that the picture added is binary? 

     

     

    Thanks,

     

    Merknad 2020-02-13 131109.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 875

#2
Valantis Profile Picture

Valantis 530

#3
11manish Profile Picture

11manish 432

Last 30 days Overall leaderboard