Reusing Content Type: Content Type Hub

​SharePoint defines content types to store different types of metadata. SharePoint 2007 was limited in respect to content type centralization and sharing between site collections/web applications.

SharePoint 2010 introduces a new concept called the ‘Content Type Hub’. It is a centralized application where users can create different content types and publish them. As it would be defined as content type hub, every application could use it with a single configuration. The advantage is it would be centralized and could be shared among different applications. In this article we will show how to achieve this.

First of all create a new web application and a team site.

CT -1

 

Now go to Central Administration  -> Application Management  -> Manage Service Applications  -> Select Managed Metadata Service. Click Properties on the Ribbon.

CT-2

Scroll down to the Application Pool Section. In the lower half, under Content Type Hub, we need to add the URL of the root site collection of web application which we have just created. By adding it here, it will define the web application as a content type hub. Once you have added it, click OK.

CT-3

Move back to created web application and create a content type (I name mine ‘EmployeeContentType’). It has some basic information like empname, empno, empage, empaddress and empcontact.

CT-4

After defining all metadata, click on “Manage publishing for this content type”. A screen will appear with three options “Publish”,”Unpublish” and “Republish”. In our case, Select Publish and click OK.

CT-5

Now for an immediate effect, we need to run two timer jobs. The first is the Content type Hub and other the is the Content Type Subscriber. Do this from Central Administration  -> Monitoring  -> Timer Job Definitions. 

 CT-6

Now go to the site where you want to have the defined content type. Go to Site Settings  -> Site Collection Administration  -> Content Type Publishing.

CT-7

If everything was followed correctly, you should be able to see the defined content type under ContentTypeHubService (Managed Metadata Service name). If not, click on “Refresh all published content types on next update” and select OK and by next timer job execution, it will be published and imported automatically.

CT-8

You can also check in Site Settings  -> Site Content Types. It should be listed there too.

CT-9

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s