I'm trying to create a Flow, wherein if in one Sharepoint team's folder the SOP is updated/replaced, it will also copy/overwrite the same file in another Sharepoint team's folder. The document needs to be kept in 2 places, but I am trying to eliminate having to perform overwriting the file twice, all the time.
Appreciate any help. Thanks!
Solved! Go to Solution.
Hi @Anonymous
Flow has a native "Copy File" action built for SharePoint which will copy a file from one location to another. One of the properties available on this is the ability to decide what happens if the file already exists. The one you'll want is to replace.
If you have found this post useful, please give it a thumbs up. If it has answered your question, please accept it as the solution so others can benefit.
@MattWeston365
Hi @Anonymous
Flow has a native "Copy File" action built for SharePoint which will copy a file from one location to another. One of the properties available on this is the ability to decide what happens if the file already exists. The one you'll want is to replace.
If you have found this post useful, please give it a thumbs up. If it has answered your question, please accept it as the solution so others can benefit.
@MattWeston365
Hi @MattWeston365 thanks!
But I was looking for the Trigger actually, that when a specific file gets modified, it would trigger this 'copy file' action.
Hi @Anonymous you can use the "When a file is added or created" SharePoint trigger. That will then fire the Flow whenever you make a change to the file, and therefore you can copy it to your other location.
If you have found this post useful, please give it a thumbs up. If it has answered your question, please accept it as the solution so others can benefit.
@MattWeston365
Hi @MattWeston365,
"When a file is created or modified [in a folder]" functions for all files within a folder. It does not work on a specific file. With what I am doing, the files in the 2 folders are not completely identical. So, I was looking for something that will only work for 1 specific file, not all the files within the folder.
Anyway, thanks for the help.
User | Count |
---|---|
88 | |
37 | |
26 | |
13 | |
13 |
User | Count |
---|---|
127 | |
54 | |
37 | |
24 | |
21 |