cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Meneghino
Level 10

How to copy an existing file on SharePoint?

Hello, I am new to Flow, so please help me getting started.

I would like to copy an existing file to another location when pressing the Flow button.  Start and end locations for the file can be a SharePoint library or One Drive for Business.

In the actions that are proposed by the flow design surface, I cannot find any action to identify an existing file.  I want my flow to start with the pressing of a button, not by being triggered by a new file being created.

Does this make sense?

Many thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: How to copy an existing file on SharePoint?

Hi @Meneghino,

 

The below flow needs two input parameters from PowerApps. Hope this is helpful.

 

aj2.png

 

 

 

 

 

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



7 REPLIES 7
Super User
Super User

Re: How to copy an existing file on SharePoint?

Hi Meneghino,

 

Couple of questions?

 

Are you planning to copy one specific file or all files from the library?

 

If it's just one file do you know the file path and filename when the button is pressed?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



Meneghino
Level 10

Re: How to copy an existing file on SharePoint?

Hi abm:

 

Let's say that I would like to copy just one file to keep it simple.

 

Let's say that I know the path and filename when the button is pressed, something like this

path: "acme.sharepoint.com/Shared%20Documents"

filename: "test.xslx"

 

Many thanks

Super User
Super User

Re: How to copy an existing file on SharePoint?

Hi @Meneghino,

 

The below flow needs two input parameters from PowerApps. Hope this is helpful.

 

aj2.png

 

 

 

 

 

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



Meneghino
Level 10

Re: How to copy an existing file on SharePoint?

Hi amb, thank you.  I must be dong something wrong because I do not have the choice of a Copy file action in the menu.  Please see screenshot below.  What could I be doing wrong?

Thanks.

 

CaptureFlowChoices.JPG

Meneghino
Level 10

Re: How to copy an existing file on SharePoint?

Wait, I know what I did wrong, I just need to type copy in the "search for more actions" box!

This is so counterintuitive!  Where can we find a complete list of actions?

Thanks again for showing me the way @abm

 

Super User
Super User

Re: How to copy an existing file on SharePoint?

Hi,

 

The only reference I can see is from release notes.

 

https://flow.microsoft.com/en-us/documentation/release-notes/

 

Yes, It would be good if we have all in page with a single page documentation.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



Anonymous
Not applicable

Re: How to copy an existing file on SharePoint?

What if we want to do this for a whole document library as opposed to just one file?

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 374 members 5,224 guests
Please welcome our newest community members: