Skip to main content
Community site session details

Community site session details

Session Id : L6/2yrHNKewMB1bGCW84ta
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Is there any way to handle unsaved attachments from attachment control ..?

Like (0) ShareShare
ReportReport
Posted on 20 Oct 2020 14:14:25 by

Hi Mates,

 

Actually, I am adding attachments to SharePoint from PowerApps using FLow, but whatever recently/Last selected that file/attachment only attaching to item, but the previous attachment is not getting adding.

 

from the below screen the first file is already saved from SP

the second file is added earlier as an attachment.

The third file is added last as an attachment. when the button trigger it saves only the Third one which is the last added.

attachment.PNG

how to loop/iterate a list of unsaved attachments from attachment control ..?

Please assist me.

Thank you 

  • v-siky-msft Profile Picture
    on 21 Oct 2020 at 08:41:55
    Re: Is there any way to handle unsaved attachments from attachment control ..?

    Hi @Anonymous ,

     

    How did you upload the file to SharePoint using flow? Did you pass the based64 of the file to flow and create the file by Base64toBinary() function, right? Could you please share the flow steps to give us a hint?

     

    If you want to upload all file in attachment control to SharePoint, The ForAll() function can be a good choice to loop the flow running.  For example:

    ForAll(AttachControl.Attachments, FlowName(...))

    Anyway, we still need more details on your app/flow to provide a accurate solution.

    Hope this helps.

    Sik

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete