SharePoint online - Best approach to create about 100 identical sites with content search webpart

On the top level of my site collection I have a huge document library. This library contains 5 content types (quote, bill, letter, etc). All documents have a metadata field called "Company", which is a managed metadata field.

So in the managed metadata store I have "Company1", "Company2", "Company3", etc till "Company100"

Each Company gets its own subsite. And on that site I only want to show the documents corresponding to that company.

What is the best way to achieve that? I tried to put 5 Content Search Webparts on each page (5 content types) and filter them on the company but if I need to do that for 100 sites by hand, that will be a hell of a job.

What will be the best approach?

Thanks, Mike

May 20th, 2015 3:40pm

have you considered Document Sets? they may not address your need, but if they do, you'll make your life a ton easier.
Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 4:01pm

Hi Mike,

I would probably approach it using custom code in .NET or JS or (possibly, haven't tried this myself) powershell.  You could export the web part and open it in a text editor and make changes web part XSL to change the filter value for company and save.  Use code to edit the page and add a web part. 

Dyung


May 20th, 2015 10:00pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics