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

Community site session details

Session Id : KKIgX2ewv1y3DR/eyGDG5B
Power Apps - Building Power Apps
Answered

Upload a picture

Like (0) ShareShare
ReportReport
Posted on 8 Aug 2023 10:12:05 by 206

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:
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on 09 Aug 2023 at 08:26:39
    Re: Upload a picture

    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

     

     

  • RiccoHipp1903 Profile Picture
    284 on 08 Aug 2023 at 11:04:50
    Re: Upload a picture

    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
     }
    )

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete