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

Create a document set (with http request)

Hello,

 

I want to create a document set (created my own content type with some columns) in a document library. Since it is (currently) not possible to create it via an action directly in flow (except with plumsail $$$) i want to use the http-request-action. I use the instructions from Karine Bosch:

https://karinebosch.wordpress.com/2018/11/08/microsoft-flow-create-a-document-set/

 

How do I need to configure it to also fill my columns, that I created on my own document-set-content-type?

4 REPLIES 4
Highlighted
Helper V
Helper V

Re: Create a document set (with http request)

Hello!

 

From what I understand in your post, you want to populate metadata on a newly created Document Set.  You can do this is the same Flow by passing the ID of the Document Set you created in a Get File (properties only) action against the library where the set is stored.  Once you get the file, you can add an Update file properties action against that Document Set, and update it the same way you would a document.  

 

Take care!

Ashley

 

If this response provided an answer to your question please mark it as a solution.

If you liked my reply, please give it a thumbs up! Thank you!

Highlighted
Frequent Visitor

Re: Create a document set (with http request)

Thank you @AKRogers

that is one way you can do it. I thought that maybe it would be possible directly inside the http-request which I use to create the doc set...?

Highlighted
Helper V
Helper V

Re: Create a document set (with http request)

Sure thing, you could potentially set up the metadata for the new Document set using the Body of the POST HTTP call.  I haven't specifically done it when using the Slug header to suggest the new URI of a Document Set, so I'd be interested to see how that works out.  

 

Here's a related post with a very similar solution that you can map to your needs.  There is a great screenshot in there of the Body with parameters and __metadata being used:

 https://powerusers.microsoft.com/t5/Building-Flows/Send-an-HTTP-request-to-SharePoint-for-a-to-creat...

 

Cheers,

Ashley

Highlighted
Community Support
Community Support

Re: Create a document set (with http request)

 

Hi @esemuhdeoh ,

 

Please check these blog and similar thread:

microsoft-flow-create-a-document-set

create-a-document-set-using-ms-flow

creating-sharepoint-online-document-set-in-microsoft-flow

Flow-to-create-document-set-when-new-Planner-task-added

 

Best Regards,

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

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (3,504)