Learn more about SQL Server tools

mssqltips logo
 

Tutorials          DBA          Dev          BI          Career          Categories          Webcasts          Whitepapers          Today's Tip          Join

Tutorials      DBA      Dev      BI      Categories      Webcasts

DBA    Dev    BI    Categories

 
Best Practices for Migrating SQL Server to Azure - free webinar
 

How to Create and Use Document Sets in SharePoint 2010


By:   |   Last Updated: 2011-08-03   |   Comments   |   Related Tips: > Sharepoint

Problem

SharePoint stores documents in document libraries. There are folders to group different types of documents into a document library. But the problem is, it just provides a logical grouping, it doesn't provide any special attributes, metadata or object model to support the complete set of documents. For example, a folder doesn't allow trigger any workflows.

Solution

In SharePoint 2010, there is a new feature called document sets which allows users to group different kind of documents under a single set. It also allows the defining of metadata, attributes and workflows on a document set. In this article, we will show you how to create and use document sets inside a document library. Before creating a document set, we need to ensure whether the Document Set feature is activated or not. To do so, go to Site Settings -> Site Administration -> Site Collection Features and Activate Document Sets feature.

document sets

In the document library, we need to add the Document Set content type. To do so, go to Library -> Library Settings -> Advanced Settings.

advanced settings

Select Yes in "Allow management of content types?" and click OK.

content types

Now you will be able to see the Content Types section in the Document Library settings. To add the Document Set content type, click on "Add from existing site content types".

content types

Select Document Set aand click "Add" and then "OK".

document set

Now browse the Document Library and click on New -> New Document Set.

new document

In our case, we are going to create the 'quarterly reports' document sets which would hold every month’s salary report.

document set

I have also uploaded three different reports inside the document set.

first quarter reports

Next I create a new documents set for each of the second, third and fourth quarters of 2011 inside the library.

Now we can add workflows and/or metadata that relates to each Document Set!

Next Steps


Last Updated: 2011-08-03


next webcast button


next tip button



About the author
MSSQLTips author Rahul Mehta Rahul Mehta is a Project Architect/Lead working at Tata Consultancy Services focusing on ECM.

View all my tips





Post a comment or let the author know this tip helped.

All comments are reviewed, so stay on subject or we may delete your comment. Note: your email address is not published. Required fields are marked with an asterisk (*).

*Name    *Email    Email me updates 


Signup for our newsletter
 I agree by submitting my data to receive communications, account updates and/or special offers about SQL Server from MSSQLTips and/or its Sponsors. I have read the privacy statement and understand I may unsubscribe at any time.



    



Learn more about SQL Server tools