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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Attach multiple files ...
Power Apps
Unanswered

Attach multiple files at once And/or Drag & Drop

(0) ShareShare
ReportReport
Posted on by 4

I am creating a basic app that copies files from the local computers and/or server computer to SharePoint, to avoid duplicates and old copies getting around.

 

The problem is I cannot find a way to Attach multiple files at once, or get a Drag and drop files working, and either one is acceptable. (or both)

 

I have found many posts claiming that drag and drop can be done with an attachments datacard inside a form, but they don't say how to do it, or give examples so I can learn.

I have tried myself, but cannot get it to work.

 

Can anyone help with either of these?

 

Thank you.

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @ScottC,

    Based on the issue that you mentioned, do you want to add multiple attachments at once?

    Could you please share a bit more about the scenario?

    Actually, there is a default column named Attachment in SharePoint list, you could add an Edit Form and add Attachment field to it. 

    Notice that you could only select the aimed file rather than drag/drop to upload.

    2021-03-26-05.png

    2021-03-26-06.png

    If you really want to have a Drag & Drop capability of related attachment control, I am afraid that there is no way to achieve this in Power Apps currently.

    Here are some similar ideas you could vote for:

    Drag and Drop of documents in PowerApps 

    PowerApps Drag & Drop capability for Attachments to SharePoint list 

    Hope it could help you.

    Regards,

    Qi

  • ScottC Profile Picture
    4 on at

    @v-qiaqi-msft 
    Thanks for the reply.

    I have voted for those suggestions, as drag and drop would be nice.

     

    Our problem is for each job we do, we have files we want to track, and keep in a central location.

    At the moment, different departments put files where ever, making them hard to find, and creating multiple copies of the same file, with no register of what exists. The current way to do things is tedious, and too manual, and even those that try often make mistakes.

     

    Our idea was to create a PowerApp (or something else) that everyone can use, allowing people to select a job, add the files, and it will put the files into SharePoint folders. 

     

    I want it to be as simple as possible, and I thought this would be easier.

    I had considered a SharePoint folder where people could dump files, and then they are filed into appropriate job folders, but I am not sure if this will also be a difficult job.

     

    Do you have any suggestions?

     

    Thank you.

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi @ScottC 

     

    Power Apps Upload Multiple Files and Drag and Drop here the link and I have tested my side is working 

    https://www.youtube.com/watch?v=7UeRzfPo8RE

  • krishangopi Profile Picture
    33 on at

    Hi all, I have seen many suggestions about Power Apps Upload Multiple Files and Drag and Drop. However, I could not see a single one that suggests the Drag and Drop of Folders is possible in PowerApps.

     

    Can someone point me to correct thread if I am missing anything?

     

    Regards,

    Krishan

  • atbauman Profile Picture
    2 on at

    Hi Scott,

     

    I know this is an old post but it may still help out if you haven't already found a solution.

     

    We had the same problem you described and created a Power Automate flow triggered by a MS Form to handle saving and naming files automatically. 

     

    The form we created allows the user to upload the file and collects any additional information required to name it correctly. The flow takes the file and information from the form, renames and saves the file to the correct location.

     

    The downside to using a form rather than a PowerApp was that it doesn't let us look up a list of projects for the user to select so we created the project field as a plain text box and the user just has to enter any kind of a string that is unique to the project name and the flow will try to find any project name that contains that string. For example the user enters "columbus" and it matches to project "Columbus Terminal 2" since that is the only project that contains the string "columbus". If more than one match is found the document is emailed back to the user and they are told to enter it again with a more specific project name.

     

    This solution ended up being easier and faster for everyone in our company than directly uploading files to the correct project folder/subfolder and standardized our file names.

     

    Hope it helps,

    Austin

  • kylzbaba Profile Picture
    182 on at

    Using the attachment control, when the user adds files (attaches), you can create a collection which usually takes the value of the name and value of the attachment.

     

    OnAddFile = ClearCollect(colAttachment, AttachmentDataCard.Attachment)

     

    Will give a table of all the present attachments in Name and Value pairs.

     

    You can then on the onselect of a button using ForAll. Loop through all items on colAttachements, and create another collection, this is where you can add new columns that old be used to differentiate the different document types. You can have a column for doctype, department, region, etc.

     

    The result is a new table of all your attachments with new columns pointing to respective departments, doctypes, etc.

     

    The final step is to pass this table into a JSON and pass in into a flow that now desirilizes the JSON and then creates these files in the appropriate folders using the description you set. So basically if the doctype says a, the condition matching doctype a executes and saves the file in that particular folder. 

     

     

    I hope this helps. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard