Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Copying a sharepoint library file into a list. list attachment did not have file contents

Posted on by 122

Hi,

I was doing this flow design below to copy my created document within the library into a list. It seems to copy the file but the contents of the file were not copied. Do i need to add additional steps?

 

powerdevkris_0-1684443246761.png

 

  • powerdevkris Profile Picture
    powerdevkris 122 on at
    Re: Copying a sharepoint library file into a list. list attachment did not have file contents

    Hi @HenWang 

     

    Thank you for checking my post

     

    Double check my flow and its the same as yours. The only thing being copied is my excel file and the table structure i have created on it. But the add row table data that i did is missing on the list. But the library file have a row data when i open it.

     

    I thing i did is remove the create file action and do just copy the existing file. That seems to include the row data i have created. Not sure if the flow should have a delay when copying files?

     

    I wonder if creating just a document link in the list pointed to the library file would be better. Though this one i have not tried yet 

  • HenWang Profile Picture
    HenWang on at
    Re: Copying a sharepoint library file into a list. list attachment did not have file contents

    Hi @powerdevkris ,

     

    According to my test, no need to add additional steps, please check:

    HenWang_0-1684464492759.png

     

    We are using the same actions actually, and you can check the dynamic contents to see whether you missed something. But this flow will add same attachment to each item of the list, you can add some filter query in "Get items" action to avoid this.

     

    Best Regards,

    Hen Wang

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard