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
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})
Here is the testing result:
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
}
)
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2