I want to build a flow that synchronizes two SharePoint libraries. When a file is added, modified or deleted in one SharePoint library the same update needs to happen in a different SharePoint library. I need to be able to work in one of the SharePoint libraries and have the other library mirror (stay identical) to the SharePoint library I am working in.
Solved! Go to Solution.
Hi @LeeHumphrey,
We could create a flow to add/modify a file from one SharePoint library to another using the trigger “When a file is created or modified”, then use the action “Create file” or “Copy file” or “Update file” to create/update the file content.
However, currently flow doesn’t have a trigger for “When a file is deleted”. There is a similar request at Flow Ideas Forum, please vote and comment the idea at here:
https://powerusers.microsoft.com/t5/Flow-Ideas/Trigger-to-delete-a-share-point-file/idi-p/70563
Please try it on your side and feel free reply if you need more help.
Best regards,
Mabel Mao
Hi @LeeHumphrey,
We could create a flow to add/modify a file from one SharePoint library to another using the trigger “When a file is created or modified”, then use the action “Create file” or “Copy file” or “Update file” to create/update the file content.
However, currently flow doesn’t have a trigger for “When a file is deleted”. There is a similar request at Flow Ideas Forum, please vote and comment the idea at here:
https://powerusers.microsoft.com/t5/Flow-Ideas/Trigger-to-delete-a-share-point-file/idi-p/70563
Please try it on your side and feel free reply if you need more help.
Best regards,
Mabel Mao
That flow works great, but we have added 2 colums in the SP library. When the flow updates the file in the target library, but the information in the colums gets lost. Also when I add the same colums in the original SP library. How can we avoid this? Anyone has a solution?
Hello
am I correct that this trigger can be set only at main share-point directory and not sub-folders?
thanks
Hi
I tried this today but I couldn't figure out how to get the file-id right? When I sync the file does get synced (it doesn't open though). Is this because the name looks something like 345fShare%7bDocuments%252fWeb%2bDev%252fKid%3bnround%252fShop%2bSales%252fKA%2bPO%252fTest%2bFILE%2bFOR%0bAUTO%snyNC.xlsx
How do I get it to just show as TestAutoSync.xlsx
Thanks in advance,
Neha
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
87 | |
52 | |
37 | |
33 | |
28 |
User | Count |
---|---|
75 | |
66 | |
50 | |
47 | |
42 |