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 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
    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

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard