Upload & Tag Multiple Files to SharePoint Document Library using PowerApps Attachment Control

preview_player
Показать описание
In this Microsoft PowerApps video, we will upload and tag multiple files and upload to SharePoint using the Attachment Control.
This technique can be leveraged to upload multiple files to any data source of choice.

#PowerAppsUploadFiles #SharePoint #UploadMultipleFiles #AttachmentControl

Part 2 - Upload & Tag Multiple Files to SharePoint Document Library using PowerApps Attachment Control
Part 1 - Upload multiple files using Add Picture Control
Рекомендации по теме
Комментарии
Автор

Excellent Video as always! Thanks for sharing! ;)

DanielADamico
Автор

Hi
Your way of explaining is awesome, i have one query, i want to save my multiple screens into pdf formate in sharepoint . Based on the drop-down some static text should be displayed in the second screen that data is available in the sharepoint

vishwachaitanya
Автор

Would you believe that using method 1 (using the Add media button) permits greater control to create/add meta data since controls (text boxes, date pickers, etc) can be added to each gallery elements for the user to separately specify against each item. By using the attachment control, it would appear that this ability is absent - and, in all likelihood, would require a pretty fancy workaround to achieve. Would it therefore be fair to say, that the need, or otherwise, to update item-wise meta data may be the primary determinant to which path you choose? Lovely video - thanks a lot!

mangeshmehendale
Автор

Great post, I have a client with this need right now. The only difference is I need metadata for each attachment separately. I know how to implement that but what I can't get past is when using the attachments control, how could you remove an attachment without using ClearCollect and losing all metadata? Is there an index that OnRemoveFile provides? The image control is just adding files so I can remove files from the gallery which works, it's just that I would then have to train users to select "All Files".

zachshane
Автор

First off, excellent video, thanks for sharing... one question though, can we use dynamic path for last step - SharePoint file generation - basis the input parameters from the app screen? If yes, and in case you have similar functionality achieved - can you please direct me to specific video?

AnkitGupta-vbcr
Автор

Reza, I had an intuition that I might got answer from your channel and I got 90% what I am looking for. I have same use case but I want to add those document to list attachment using 'Http post to SharePoint' action from flow so that PowerApps can be move to production easily. Can you share some pointer how to attach those document in list item as attachment?

smisra
Автор

Hi Reza, loved the video! One doubt- what are we adding in PowerApps V2 input in flow?

ShamimaKhatun-mk
Автор

Great video Reza. I am wondering if we can also use the attachment controller for reading(Displaying) files based on a filter? Such as getting multiple files by filtering a collection of files by a ID.

andresan
Автор

Hi @Reza Dorrani, thank you for this great and very useful video. Is there any way to clear attachment list from "attach" after all the files have been uploaded to the library, so the user could add new attachments having clean box? - thanks a lot!

dwisniow
Автор

I know this is a very old video, but it appears that something has changed in JSON. I used this approach about two years ago and it worked beautifully. Now I try to copy the exact same approach for a new app and I get an error inside the 'Run' function on JSON -- tells me JSON cannot serialize tables/objects with a nested property called 'meta-blah blah' of type 'Control'. Can you please do an updated video if the technology behind this approach has rendered it invalid. Thanks for all your help, your videos are the best on the net.

glennmurphy
Автор

Hi Reza, thank you so much for the thorough and fruitful video and instructions. Worked well for me. I chose this alternative approach to enable the end-user to upload larger files than those limited by a list item attachments control. Yet I notice that the performance is decreasing significantly. 6 files around 3-5 MB each -> 40 mins sometimes an hour. Yet in a list, same files are uploaded within a minute or 2. Does that surprise you? Any workarounds? Thx in advance. kr another Reza :-)

rezag.
Автор

Hi Reza, as always what a great video/tutorial thank you so much! I need your advice please, right now I'm working on a project, I have followed both part1 and part2 of your videos, however, if a user didn't put/write any data to "Contract Type" or "Contract date", the flow doesn't run, because those fields should not be empty/blank, so the flow only works when a user enters a data/value to given fields.

Thus, could you please help me to set up a code if it's possible of course, where users can fill some of the column data and are also able to leave some of the columns empty? If this can be something we can achieve, I could conclude my project Reza.

Thank you in advance.

william
Автор

This is a good video. I still struggle getting all the SP files to appear in the control. My JPG, etc come over, however, my power automate created docx file does not. If I remove the ITEM formula and then repaste the same formula, the docx will populate immediately. I added a 3 min delay before going to the attachment screen and still only photos even though the docx file is in SharePoint list and Power automate sends me an email with the docx file. I tried to create a onaddfile formula to update files, but unsuccessful.

ddntim
Автор

This is great stuff, Reza. Thank you for posting!


One question: Is there a way to change the file selection dialog box so a user can Ctrl- or Shift- select multiple files at once? By default, I'm only able to select one file attachment at a time.

dlee
Автор

Hello, Reza. Thank you for your video!
But I have one thing I need to do more. Can you help me?
I need to upload only one file, and send an email with the link to this file in after uploading. How I can do this?

mankindhr
Автор

Hey Reza ! Can we set Attachment control to display a file from sharepoint ? I tried with settings its items property to {Name:"SomeName.extension", Value:"SomeValue"}. It seems Value property is not being set to what we expect, instead it gets set to Name.

sajidkazi
Автор

Hi Reza great video, i managed to get this to work however if i leave any of the fields blank I get an error "The method 'run' has an invalid value for parameter, is there a way to have it ignore blank fields ?

scottfoster
Автор

Hi Reza, can you please tell how we can strict this control to show only pdf files in filepicker?

musicmania
Автор

Hi, Great video.. But Mr Reza, I have a from where I want to take two different pictures for one record and upload it for a single record. (so both of the pictures will be in a single line.) how to achieve that, because you have 4 different rows for each attachments.

any idea?

mustafahussainmohsin
Автор

Thank you, Reza, for this great tutorial! I was able to upload the files but I can't open them because the file format is unknown. I took a closer look into the json output and realized that the datastream always starts with "data:image" even though I am uploading .xlsx files. Might this be the problem and if so, how to fix it? Thanks!

nyomanl