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 / I would like to upload...
Power Apps
Unanswered

I would like to upload more than one file at a time to Flow

(0) ShareShare
ReportReport
Posted on by

Hi there it seems you can only upload one file at a time to a staff member when assigning him work using Flow.  Have you developed a way for multiple uploads to a

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @PM00n :

    Do you want to upload more than one file at a time to Flow?

    If so,I've made a demo(Upload multiple files at once and save them into the SP library) for your reference:

    vbofengmsft_0-1626914823329.png

     

    1\Add a Attachment control(AttachmentControl)
    2\Add Timer control(Timer2)

    Duration

     

    3000 /*loop in 3s*/

     

    OnSelect

     

    Clear(TheFiles);Set(TheCount,1)

     

    OnTimerEnd

     

    Set(TheRecord,Last(FirstN(AttachmentControl.Attachments,TheCount)));Set(TheURL,TheRecord.Value);Collect(TheFiles,{FileName:TheRecord.Name,FileContent:Substitute(JSON(Image1.Image,JSONFormat.IncludeBinaryData),"""","")});Set(TheCount,TheCount+1);Set(TheFilesJson,JSON(TheFiles,JSONFormat.IncludeBinaryData))

     

    Repeat

     

    TheCount<CountRows(AttachmentControl.Attachments)

     

    3\Add an image control(Image1)

    Image

     

    TheURL

     

    4\Create a flow(PowerAppV2 -> Compose)

    vbofengmsft_2-1626914823345.png

     

    The Schema

     

    {
     "type": "array",
     "items": {
     "type": "object",
     "properties": {
     "FileContent": {
     "type": "string"
     },
     "FileName": {
     "type": "string"
     }
     },
     "required": [
     "FileContent",
     "FileName"
     ]
     }
    }

     

    5\Go back to the app and add the flow into the app

    6\Add a button(Button5) and set it's Onselect property:

     

    'PowerAppV2->Compose'.Run(TheFilesJson)

     

    Select the timer button and then wait for it to end automatically.Finally select the Button5.

    vbofengmsft_3-1626914823170.png

     

    vbofengmsft_4-1626914823365.png

    I think this link will help you a lot:

    Creating multiple file attachment without edit forms

    Getting pics to SharePoint from PowerApps is getting easier…

    Best Regards,

    Bof

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard