Have you ever wonder how to add metadata in SharePoint to folders in a document library so that metadata can be applied automatically to all the documents created in the folder? This blog entry shows you step by step how to create a folder content type, add metadata to it, create a folder using the new content type, and create a document in the folder that has metadata applied from the folder content type.
Create a new site content type
- Click Site Actions, click Site Settings
- Under Galleries, click Site content types
- On the Site Content Types page, click Create
- On the New Site Content Type page, enter a name and description for the new site content type
- Select Parent Content Type by choosing Folder Content Types then Folder from the drop-down lists
- Choose a group for the new site content type then click OK
Add your new site content type to a library
- Click on the library where you want to add the new content type
- Select the library that you want to add the content type
- Under General Settings list, click Advanced settings
- Choose yes option when asked “Allow management of content type?” Then click OK at the bottom of the page
- You are directed to the Document Library Settings page, under Content Types, click Add from existing site content types
- Select the new site content type we just created and click Add, go to the bottom of the page and click OK
Add metadata to be used in the content type by adding columns
- On the Document Library Settings page, under Columns, click Add from existing columns.
- Select the columns, add them, then click OK
- You can see a list of columns used in the content types on the Document Library Settings page. You can add a new column, edit or delete the existing columns here:
- Select the library to go to the library browsing page, click Documents under Library Tools, then click New Document, click Customized Folder
- Enter folder name, description and other information then click Save
- On the All Documents page, click the folder we just created
- Go to Documents under Library Tools, click Add document or New Document in the Ribbon
- You can edit the document properties(the columns added in the previous steps) in the Word program and save the document directly to your SharePoint site:
Now you’ve created a folder content type, added it to a library, added metadata (columns) to the content type, created a folder in the library using the new content type and created a document inside the folder.
If you would like to take further advantage of the managed metadata features and other document management functions in SharePoint 2010, sign up for our newsletter or subscribe to our blog via RSS feed. We will periodically post new entries to help you best utilize SharePoint 2010 to improve your business performance and create bottom-line impact. Stay tuned!