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 / Take photo in PowerApp...
Power Apps
Answered

Take photo in PowerApps and save it to Sharepoint Document Library

(0) ShareShare
ReportReport
Posted on by
Hi
In my app I would like the user to be able to take a photo (using the camera function in PowerApps) and afterwards press a button to save the photo as a jpg file in Sharepoint document library.
To me it sounds simple, but I cannot get it to work... ;-)
Could someone please help me with the corret setup of the flow - and the correct coding of the calling of the flow in PowerApps...?
 
Besides the photo, I would like to add some informations to other columns in the Sharepoint document library regarding the photo... (eg. "Order number" and "Contact")
 
Thanks in advance
 
Categories:
I have the same question (0)
  • Suggested answer
    stampcoin Profile Picture
    Super User 2025 Season 2 on at
    I did a minimal app and flow.
     
    I only added one button, and one Camera.
    Camera:
    OnSelect = true, you can collect it if you want. for example collect them and assign it to a gallery.
     
    Button:
    OnSelect=
    'YourFlow'.Run(
        {
            file: {
                name: "abc.jpg", //name of the file
                contentBytes: Camera1.Photo // photo
            }
        }
    )
    Create file:
     File Name: 
    triggerBody()?['file']?['name']
    File Content:
    triggerBody()?['file']?['contentBytes']
     
    After you make it, add more info as you need.
     

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

Last 30 days Overall leaderboard