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 / PowerApps getting user...
Power Apps
Suggested Answer

PowerApps getting users image and upload to sharepoint

(0) ShareShare
ReportReport
Posted on by 4

Hello,

I’m running into an issue while trying to implement what should be a relatively simple feature.

In my Power Apps application, users select items from one gallery, and those selections are moved into a second gallery. For each item in that second gallery, users need to upload one or more images. I’ve successfully handled this in temporary memory within Power Apps, but I’ve been unable to patch the images to SharePoint upon submission. I’ve tried multiple approaches without success.

A key constraint is that I can’t use the standard Edit Form attachment control, because the image upload button must live inside the gallery and be tied to each specific sub-item, which is itself controlled by a higher-level item within a request.

I’d really appreciate your guidance on a proper solution. I’m happy to share any additional details or screenshots that would help.

Thank you!

Categories:
I have the same question (0)
  • Suggested answer
    SebS Profile Picture
    4,826 Super User 2026 Season 1 on at

    I’d suggest using a SharePoint Document Library instead, and uploading the images via Power Automate with metadata (e.g. RequestID, SubItemID). That way each image is tied to the parent record through metadata, not through the attachment control.

    It’s much easier to manage long term, scales better, and avoids the need for complex gallery-inside-gallery handling. You can simply filter the document library in a separate gallery using the selected item’s ID from the first gallery and match it against the metadata column.

  • WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    There is (sort of) a workaround you might want to consider. Insert a Form on the screen with the DataSource of your SP List and the Item
    LookUp(
       SPList,
       ID = YourGallery.Selected.ID
    )
    and put only an attachment control in it. When you select the attach icon in the gallery, set a Variable
    UpdateContext({varAttach: true})
    and make the Visible of the Form
    varAttach
    Add the attachment and then on the Save Icon
    SubmitForm(FormName);
    UpdateContext({varAttach: false})
    You might also want to include a Cancel Icon with
    UpdateContext({varAttach: false})
     
    Please Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like
    Visit my blog
    Practical Power Apps    LinkedIn  
  • lbendlin Profile Picture
    8,716 Super User 2026 Season 1 on at
    If you want to upload the images to a Sharepoint Library rather than a list you can use the Flow workaround.
     
  • WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    A quick follow-up to see if you received the answer you were looking for. Happy to assist further if not.
     
    Please Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn   

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard