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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,974)