web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create File in sharepo...
Power Automate
Answered

Create File in sharepoint library then get link of each file and send it as arrary to office script

(0) ShareShare
ReportReport
Posted on by 12

Hello,

I have a senario where i need to pull all attachment from item of sharepoint list and save those on sharepoint library, i am passing ID No. of sharepoint list from powerapp. I have managed to create the item on sharepoint library and pulled the link of those file by using apply to each(see attached), i am stuck on how to convert this as array and so, i can pass it to office script. 

for example: if there are there file just created from my create file(file 1,file 2,file 3) then,

i would like to pass:

File 1  : Link of file 1

File 2 :  Link of file 2

File 3 : Link of file 3

 

so, i can have something like attached(Excel) in excel.

No. of file isnot fixed.

 

Capture.PNGExcel.PNG

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

    Hi @Rsapkota1 ,

     

    If you want to save the file name and file link in attachment to Excel, then you need an Excel table that has been created.

     

    Excel sheets in my data source, and there is a table format.

    vmengmlimsft_0-1694417846178.png

     

    Add an action in apply to each.

    vmengmlimsft_4-1694418214911.png

     

    The result of my test:

    vmengmlimsft_3-1694418128038.png

     

    I hope this helps.

     

    Best regards,

    Rimmon Li

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard