cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Get link of copied file

I have flow that triggers for selected file.

I am able to copy that file but I want to send link to this file. I have problem with "get item" because i dont have ID of the new file.

Is there a way to get link for the copied file or at least file directory?

Thanks for ideas!

3 REPLIES 3
Highlighted
Helper II
Helper II

Re: Get link of copied file

Hi Vistex,

 

Can you share a screenshot of your flow for the creating the second file please?

 

I think if you use the "apply to each" and then the "create file" action you can then use "get file properties" and use the "current item" dynamic content type.

 

flow.PNG

 

Thanks

 

Scott

Highlighted
Community Support
Community Support

Re: Get link of copied file

Hi @Vistex,

 

Could you share more details on your scenario?

I assume that your flow is triggered by “For a selected item”. Then you want to copy that file to a different library and send an email with the link to this file.

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Get link of copied file

Thank you all for advice.

 

I kinda workaround it by taking site url with folder path for folder link

like : example.sharepoint.com/sites/project/folder1/folder?web=1

and same for document

example.sharepoint.com/sites/project/folder1/folder/document.docx?web=1

 

are there any risks with this solution or its gonna work everytime?

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (7,426)