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 / Uploading Multiple Fil...
Power Apps
Answered

Uploading Multiple Files to Dataverse @ Canvas App

(0) ShareShare
ReportReport
Posted on by

From what I understand, according to Microsoft Doc, you can upload multiple files to Dataverse with Attachments control.

I have a Dataverse table with Attachments enabled and a file-type column, named Document. This table is simply Year, Month, Document.

I have a couple dropdowns for Year and Month. I have a Gallery control referencing the Dataverse table, filtered using the dropdowns.

I am using the Attachments control unbound from a Form\Card (I noticed that many experts do this), but referencing the Gallery, to display any existing attachments for the selected record.

My question is.. what would be the function\syntax I would place on a button to Patch\Save all files chosen by the end-user, with the Attachments control?

I searched exhaustively, but many resources were referencing Sharepoint, and is hard to know what is referencing most up-to-date features and functionality.

This task is not a frequent one, so I am not concerned with performance, per say, and would only be a few files at a time.

 

 

 

8-12-2023 4-45-52 PM.png
Categories:
I have the same question (0)
  • Verified answer
    kent-culpepper Profile Picture
    on at

    I have this solved.. as I was not thinking about this correctly..

     

    There can be multiple records (duplicates) on that table per year\month\document.

    I unbound the dropdowns to that table.

    I removed all records from the table (year\months).

    And added a ForAll\Add Patch.

    It is working except that it looks to be uploading\adding the first file multiple times.. to be addressed outside of this post..

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 414

#2
Valantis Profile Picture

Valantis 387

#3
timl Profile Picture

timl 344 Super User 2026 Season 1

Last 30 days Overall leaderboard