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 / attachment will not sa...
Power Apps
Answered

attachment will not save to sharepoint list

(0) ShareShare
ReportReport
Posted on by 347

I have a form that has 2 sharepoint lists, one  a list of requests, one a list of parts.  The part sharepoint list has an attachment.  When the user creates a request and select a part I have a lookup to the part list to pull in the attachment.  I can actually see that in the form. Howerver when I save the request the attachment does not save to the request list.  Any ideas

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @dmclaughlin 

    You cannot copy attachments from one record to another by referencing the attachments like that.  You either need to have the user attach them, or enlist the help of PowerAutomate to transfer the attachments.

     

    I hope this is helpful for you.

  • dmclaughlin Profile Picture
    347 on at

    wow.. powerapps really needs some improvements

  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @dmclaughlin 

    Attachments have always been weak.  There are a lot of moving parts to consider on it. 

  • dmclaughlin Profile Picture
    347 on at

    So I wrote a power automate.  Got the attachment from the one list and added attachment to the other list and did update  item.. Worked great.  But sometimes I have multiple attachments that need to go from 1 list to the other.  So I created an attachment array,  got the attachments from the one list appending to that array. But now I'm stuck.  How do I update the other list?  The update item doesn't have a place for the attachment.  I cant use the add attachment like I did if just 1 attachment because its an array.  Ideas?

  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @dmclaughlin \

    Doesn't even need to be that complicated.

    Basically what you will do in the flow (in basic-speak, not specific) is get the record you want, then do an Apply To Each for the Attachments of that record.  In the Apply To Each, you will get the attachment content, and then add the attachment to the other record.  

    You shouldn't need to create any arrays or anything else.  Just those steps should work fine.

  • dmclaughlin Profile Picture
    347 on at

    Randy, so can you peak at my example attached.  I was doing what you described already but it only pulls in the 1 attachment not all.   Do you see where I'm going wrong?

  • dmclaughlin Profile Picture
    347 on at

    IT WORKS! I just needed to get my looping in the right spot to get multiple attachments to be added to the 2nd list.!!!!!!!!!tx

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard