Skip to content

Octavie van Haaften

Office365, Azure and SharePoint

  • About
  • Assets

Setting Up Managed Metadata Service Application

Octavie van HaaftenMarch 23, 2010 SharePoint 7 Comments

In my last post I wrote about setting up the User Profiles service application. This time I want to show you how to setup the Managed Metadata service application and how to use the managed metadata with your content.

For starters…the hub

With SharePoint 2010 it is possible to define metadata centrally and use it in the entire farm or even cross farm. For this purpose SharePoint 2010 offers you the Managed Metadata service application. The service uses a hub for publishing the content types and managed metadata. This hub is just a site collection with the feature Content Type Syndication Hub activated. So, before installing the Managed Metadata service application create a new site collection to act as a content type hub. After creating the site collection go to Site Actions, Site Settings, Site Collection Features:

image

Next.. installing the service application

it’s time to install the Managed Metadata service application. From Central Administration go to Manage Service Applications and click the New button and select Managed Metadata Service.

image image

Enter all needed data, such as a representative name, database server and database name and especially the url of the content type hub. Click OK. Now we wait… 🙂

Next… The Term Store

After installing the Managed Metadata service it’s time to set up the term store. Definition of terms from the Microsoft TechNet site:

A term is a word or a phrase that can be associated with an item in SharePoint Server 2010. A term set is a collection of related terms. You can specify that a Microsoft SharePoint Server column must contain a term from a specific term set. Managed metadata is a way of referring to the fact that terms and term sets can be created and managed independently from the columns themselves.

Click on the installed Managed Metadata service application and the term store will be opened.

image

On the left side click the the term store Managed Metadata Service Application and select New Group. Enter a group name, like Publication.

Click on the created Group Publication and select New Term Set. Enter a Term Set name, like Newsletter or Press Release.

image image

Click on the Term Set and select Create Term. Enter a term name or phrase, like Commercial or Employee of the Month.

I think you get the picture, so let’s leave it like this. Now we’re going to use it.

Next.. creating a Content Type with managed metadata

Let’s go back to the content type hub site (in our case, http://portal/hub). Go to Site Actions, Site Settings and under Galleries select Site Content Types.

Create a new Content Type called Newsletter based on Item.

Create a new site column called NewsCategory and the type for this column is Managed Metadata.

image image

You can now browse to your correct Term Set Newsletter.

Click OK

Next… publish the Content Type

We now have a content type with a column based on managed metadata. Sweet. So, since this content type is on some particular site collection, how do we use it elsewhere? The answer is simple: the content type needs to be published.

image

From the Manage Content Type NewsLetter screen, click on Manage Publishing for this content type.

image

Select Publish and click OK.

What happens now? In Central Administration there are 2 jobs: Content Type Hub and Content Type Subscriber. The Hub job is scheduled to run every 15 minutes. This job manages content types to be publishes. The Subscriber job receives all published content types and applies them to the local content type gallery. This job runs every hour. You can speed things up from Central Administration.

Who are the subscribers then? For that answer we have to go back to Central Administration, Manage Service Applications. Now, click on the Managed Metadata service application Connection and click Properties:

image

The 3rd checkbox indicates if the web application connection consumes from the content type hub.

Finally…. test it

Go to you portal site and create a new library or list based on the content type Newsletter. It should be there. If not, run the jobs mentioned earlier.

Share
Content Type Hub, Managed Metadata, Service Applications, Term Store
  • ← Setting Up User Profiles Service Application
  • April 2010 – Month of the RTMs →

7 thoughts on “Setting Up Managed Metadata Service Application”

  1. Pingback: 生命中的一個秘密 | 打造生命奇蹟官方blog

  2. mossbuddy April 3, 2010 at 16:06

    Excellent article and to the point explanation, thank you for sharing.
    I have one question regarding content types defined in the HUB, what happens when you change the definitions of the content types in HUB, are the changes pushed automaticaly (via the TimerJob mentioned) to all the consumers of that MetadatService?

    Reply
    1. octavievanhaaften April 3, 2010 at 18:56

      Thank you. There’s a lot to explore with SharePoint 2010!

      And yes, changes are published to all consumers of that Managed Metadata service application.

      Reply
  3. Rafael October 7, 2010 at 21:47

    A great article, but I wonder if the content type that is published is read-only?
    I have a situation in which I must replicate structures of lists in different site collections and keep them up-to-date, each list can have independent data.
    The use of the content type, is that I need, there is some other alternative?

    Thanks, Rafael

    Reply
    1. octavievanhaaften October 14, 2010 at 13:52

      Hey Rafael,

      Looks like this is the way to do it in your situation. And yes, I believe the content types are read-only at the consuming sites. I am not sure, though. However, you can mark content types as read-only. You can do that on the publishing site.

      On the consuming sites, you can have lists containing one of more content types and have custom fields per list as well.

      Good luck!
      Octavie

      Reply
  4. Suresh Pydi April 12, 2013 at 12:55

    Nice post. Here is one more post to configure managed meta data in share point 2013
    http://sureshpydi.blogspot.in/2013/04/sharepoint-2013-configure-managed.html

    Reply
  5. Pingback: Unexpected Exception – Failed to process hub site » SharePoint : Working on it...

Leave a Reply to octavievanhaaften Cancel reply

Your email address will not be published. Required fields are marked *

I work at

Portiva

Portiva Make

Portiva Make

The best solution for creating and provisioning SharePoint Online sites, Office 365 Groups and Teams using templates!

Portiva GuestHub

Portiva GuestHub

Manage all your guest accounts in your tenant.

Mavention Screen

Mavention Screen

Flexible narrow casting solution based on SharePoint

Tags

Administering Administration Toolkit AllowedInlineDownloadedMimeTypes ALM Application Pool AppRegistration Apps Architecture ASP.NET Membership Provider AssetPicker Authentication Beta Beta Exam Certificates Certification Change Log CodeCamp Configuring Content Databases Content Type Hub Content Types Continuous Crawls CSS Cumulative Updates Debugging Deployment DIWUG Exam Farm Administrator IIS Language Pack Office People Picker Permissions PowerShell Search Service Applications SharePoint SPC11 SQL Server SSL Upgrade User Profiles Visual Studio Web Applications

Archive

Recent Comments

  • Michael on Create Azure AD App Registration with PowerShell–Part 2
  • Michael on Create Azure AD App Registration with PowerShell–Part 2
  • Behruz Rush on Creating Azure AD App Registration with PowerShell – Part 1
  • Andy on SharePoint 2010 beta exams
  • Octavie van Haaften on Using MFA enabled accounts in PowerShell scripts
Copyright © 2021 Octavie van Haaften. Theme by Colorlib Powered by WordPress
octavie.nl