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 / Save the photos taken ...
Power Apps
Unanswered

Save the photos taken by a camera control in an excel file

(0) ShareShare
ReportReport
Posted on by 64

Goodmorning everyone.

With my Powerapp, which already saves data in an excel file in my One Drive, I'd like to add a camera control and save one (only one) image/photo for each record saved in excel.

I tried in 2 ways:

  1. I First tried to do a patch...
  2. Then I followed these tips, using a collection and First value: Solved: Re: Saving captured image to excel - Power Platform Community (microsoft.com)

 

but then at the end in the excel file I see always in the "Image [Image]" column some strange strings (*) and I don't understand where I am going to save the photos !! (although in truth I can see the photos inside the app!).

I was expecting at least to find in my OneDrive a subfolder with the images inside, but it isn't ..


where is my app saving photos?

 

Thanks in advance

Bye

Andrea

 

(*) "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAKACAYAAABEyKtSAAAAAXNSR0IArs......................."

Immagine 2021-12-15 122520.jpg
Categories:
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @AndreaPRJ :

    These strings are actually the pictures you saved, they are file content in Base64 format.

    Base64 is an encoding algorithm that converts any characters, binary data, and even images or sound files into a readable string, which can be saved or transported over the network without data loss. ... Base64 images are primarily used to embed image data within other formats like HTML, CSS, or JSON.

    I've made a test but did not encountered the problem you mentioned:

    1)create an excel file , insert a column named Image[image]

    format data in excel as a table

    upload this excel file to one drive

    vbofengmsft_0-1639726169081.png

     

    2)connect your app with the excel table in one drive

    3)insert a Add picture control

    4)Add a button control and set it's OnSelelct property:

    Patch(Table2,Defaults(Table2),{Image:UploadedImage1.Image})

    The Result:

    vbofengmsft_1-1639726188523.png

    vbofengmsft_2-1639726193948.png

    I think this link will help you a lot:

    Take Photo and Upload to OneDrive 

    Best Regards,

    Bof

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard