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 Apps
Answered

Upload a picture

(0) ShareShare
ReportReport
Posted on by 209

Hello,

Could someone tell me how I can use an icon on my power app to upload a picture to my app and then patch it to a column in a sharepoint list.  Ideally, I'd like to click a + icon and then it will open an Explorer type window and allow me to choose the picture from say Windows Explorer.  Once the pic is showing in my Powerapp and I have added all of the other information I need I want to be able to press a button and add (patch) the picture to my Sharepoint list with the other information on my data capture form.  I have no idea where to begin with this so any help would be greatly appreciated.
Thanks

Categories:
I have the same question (0)
  • RiccoHipp1903 Profile Picture
    284 on at

    1. Include SharePoint-Form for grabbing the Attatchment

    2. Copy the Attatchment and Paste it outside the form

    3. Delete the form because you don't need it how you describe it

     

    4. Add an Icon 

    5. Add Code to the OnSelect Property that either makes the attatchements control visible/navigate to there or anything else so that the user can interact with the attatchment control

    6. Adjust the properties of the Attatchment control to Max Files 1

    7. Insert a Image Control with the Code to reference the Uploaded Picture

    Last(Attatchment.Attachments).Value

     8. Make a Patch Function and the Image could be

    Patch(
     Testlist,
     Defaults(Testlist),
     {
     Title:"Patch PowerAppS", 
     Image: Image1.Image
     }
    )
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Station1901,

    I will suggest you use the AddPicture control to upload image and a Image column in SP list to save the image.

    Here is a simple demo, please check for details:

    1). create an Image column

    2). add the AddPicture, once you click the "Tap or click to add a picture", you could upload picture from the Windows Explorer.

    3). add a save button and set the Patch() as below:

    Patch(Fruits,Defaults(Fruits),{Title:"",ImageColumn:UploadedImage1.Image})

    vqiaqimsft_0-1691569466503.png

    Here is the testing result:

    vqiaqimsft_1-1691569588738.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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard