cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lourenco_silva
Frequent Visitor

Capture versions of document set automatically when an item is changed (power automate)

Hello,

 

Does anyone know if there´s any way I can set up a flow in power automate to capture a version of a document set when an item is changed? (e.g Major Version published)I know there are not out of the box features do deal with docsets in power automate (at least for know), but perhaps with the action "send http request to sharpoint" there's a way I can do it. If anyone knows a way to do this (even without power automate) I would be extremly glad.

 

Thanks

7 REPLIES 7
ChristianAbata
Super User
Super User

hi  @lourenco_silva  you cna follow this example

 

last mod.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Hi, 

 

I´m having trouble with the "get file metadata" action for the selected document set. I´m getting this error message: "The file /sites/TesteDocSets/64 does not exist." 

 

Thank you

 

@lourenco_silva  please could you share an screenshot?



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

 
 
 

v-litu-msft
Community Support
Community Support

Hi @lourenco_silva,

 

In the File identifier field is dynamic content Identifier:

Annotation 2020-05-27 140646.jpg

 

But I don't think it could capture versions of a document, the last modified is return date of modified time. If you want to capture versions of a document, the only way is use Send HTTP request to SharePoint, there is a post talk about it how to get previous versions and restore, hope it could help you:

https://powerusers.microsoft.com/t5/Building-Flows/Restore-previous-document-version-and-delete-curr...

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-litu-msft,

 

Thank you for your help. But I'm dealing with Document Sets, not with proper documents. I was trying to perform the following action with flow: 

Capture Version.png

Helpful resources

Announcements
Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (1,782)