Hi there,
i have a folder (lets call this folder folder 1) (with subfolders) in one sharepoint that i want to sync to another folder (folder 2) in another sharepoint. I want to sync in both ways so if i add/edit/remove any file or subfolder in folder 1 it will be synced with folder 2 and if i add/edit/remove any file or subfolder on folder 2 it syncs with folder 1. This is possible? how can i do it? i'm new to flow... 🙂
thank you very much.
regards.
Solved! Go to Solution.
Hi @absint0o ,
The Site address is selected according to your own actual situation, which is the Site address where the Library you specify is located.
Best Regards,
Hi @absint0o ,
Please try the following method to configure Flow.
You may need to create ItemID field in each of the two libraries, the type is Number, which is used to record the ID of the file in the source list.
Besides, you need to configure the corresponding Flow for each source list.
Here is an example of synchronizing the files in Folder 1 to folder 2.
For example, I will synchronize the files in TestEtag to TestGroup and judge whether it needs to create new files or update files according to Created and Modified.
When a file is created or modified:
When a file is deleted:
If you want to synchronize the files in folder 2 to folder 1, you only need to switch the Library Name in the two Flows. Hope it makes sense.
Best Regards,
WOW! @v-bacao-msft thanks alot for your help, what a great explanation! many thanks!!!
i have some questions:
in the first trigger i have to fill all this boxes like this:
but in the conditions i get this when searching for created or modified condition:
Also, i think i didn't undestand what do you mean with:
Besides, you need to configure the corresponding Flow for each source list.
sorry, i'm new to all this new world of flow.
Once again thank you for your help!
Regards,
João
So, i've managed to create all triggers and conditions you've showed in your reply but i'm a little confused with the site addresses. i don't know which address to put in each trigger and condition.
Can you show me what you have inside the get file content action?
Hi @absint0o ,
The Site address is selected according to your own actual situation, which is the Site address where the Library you specify is located.
Best Regards,
Thank you so much for posting the solution @v-bacao-msft !
I also have the same question and have tried the solution that you provided. But it's not working for me. When I add or modify a file in folder A(i.e. https://sharepoint123/test), it won't make a copy in folder B or reflect the change to the same file in folder B(i.e. https://sharepoint456/test). The same to the delete file flow as well, files won't be automatically deleted in Folder B when I delete them from Folder A.
Can you please take a look at below and help me to understand how to fix it? Thanks so much!
Lily
when a file is deleted
when a file is created or modified
yes, i also have the same problem, can't sync it no matter what i do, can anyone please help?
thank you so much for the help!!!
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 |
---|---|
92 | |
58 | |
42 | |
39 | |
38 |
User | Count |
---|---|
84 | |
72 | |
57 | |
56 | |
41 |