cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Moving Documents between Sites with Flow

Hello Everyone, 

I have a Team site with some document libraries that contain documents that users collaborate on. Each document library has a yes/no field called "Publish?"

I have a communication site created with the intent of pushing documents to once they are set to yes in the "Publish?" field in the Team site. 

 

Essentially, the requirements are as follows:

1) Once document in Team site is set to "yes" in the "Publish?" field, SPO creates a copy of the document in the corresponding document library in the Communication Site. 

 

2) If document in the Team site is set to "no", Flow deletes the document from the Communication Site. 

 

Can anyone tell me how to do this through Flow? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution Sage
Solution Sage

Hi @Anonymous ,

First, you need to make sure the library name and file name are same in the two SP site.

I have made a flow for your scenario, please check it for a reference.

Capture2.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
Highlighted
Solution Sage
Solution Sage

Hi @Anonymous ,

First, you need to make sure the library name and file name are same in the two SP site.

I have made a flow for your scenario, please check it for a reference.

Capture2.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (8,813)