Saturday, July 12, 2014

SharePoint - Taxonomy

Taxonomy (Managed Metadata)
According to Microsoft Technet, A taxonomy is a formal classification system. A taxonomy groups the words, labels, and terms that describe something, and then arranges the groups into a hierarchy.
In layman terms, taxonomy is how to categorize the data in a structured way so that its easy to find the required information.

In this post, I will explain how to define taxonomy through Term Store, Content Types etc in SharePoint 2013. Taxonomy is managed by Taxonomy Term Store in SharePoint 2013 where we can create Terms(a Term is a specific word or phrase that you associated with an item on a SharePoint site), Term Sets(a Term Set is a group of related terms) and Groups(a group is a set of term sets).

Lets walk through following steps:
  1. Configure Terms in Term Store
  2. Create Content Type with Managed Metadata
  3. Add Document and Tag
  4. Metadata Navigation 
 1 - Configure Terms in Term Store
  1. Go to Central Admin and select Managed Metadata Service to launch the Term Store.
  2. Provide your ID in Term Store Administrators and hit Save in order to have the right permissions to create Terms.
  3. Select the tiny arrow on Home node (Taxonomy_XXX) and create a new group called Function.
  4. Create your Term Set (Advisory) and Terms (Business, IT, KM) under Function group.

    Note: You can provide description of groups, term sets and terms on the right side.
 2 - Create Content Type with Managed Metadata
  1. Launch the Site Collection where you want to use these terms and go to the Site Settings -> Site Columns.
  2. Create a site column Advisory and type Managed Metadata
  3. Under Term Set Settings expand taxonomy and select Advisory term set and hit OK.

    Note: This will map Advisory term set to the Advisory site column.
  4. Create a new Site Content Type Function that will use the Advisory site column
  5. Add the Function content type to a Document Library

    Note: Now the library is ready to use.
 3 - Add Document and Tag
  1. Upload a document in Document Library and select Function content type.
  2. In Advisory column select a the Term that you want to associate with this document and save.
  3. Add a couple of more documents with different terms
  4. And that's how you attach Taxonomy Terms (Managed Attributes) with different documents in SharePoint in order to categorize them.
 4 - Metadata Navigation 
  1. Go to Library Settings of MyDocuments and select Metadata navigation settings.

    Note: You might have to activate Metadata Field Navigation and Filtering feature from Site Features if this option is not available. 
  2. In Metadata Navigation Settings select Advisory as Hierarchy Field.
  3. Go back to the library and Advisory Term Set will appear on the left navigation
  4.  Select a Term from the navigation and you will see related documents appearing on left.

No comments:

Post a Comment

Official SharePoint Documentation

I have recently contributed to the official SharePoint documentation for developement. Check it out here: https://docs.microsoft.com/en-us...