cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
esemuhdeoh
Level: Powered On

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
AKRogers
Level 8

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!

esemuhdeoh
Level: Powered On

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...?

AKRogers
Level 8

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

Community Support Team
Community Support Team

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,849)