Wednesday, December 21, 2011

How to setup content type publishing hub in SharePoint 2010

What is Content Type Hub ?
Content type hub is new feature of SharePoint 2010 to manage content type centrally (Content Type Gallery) and publish them to subscribed sites.

Prerequisite :
  1. Create two web application on two separate port number. we called site A as publisher and site b as subscribed site.
  2. Create content type on site A called "Content Type Hub Demo" of document base type. 

Create service to deploy content type hub
 

  1. Open SharePoint 2010 Central Administration - > Click on Manage service applications under Application Management section -> Click on New and select Managed Metadata Service


  2. On "Create New Managed Metadata Service" window change following values
    Name : Content Type Hub
    Database Name : Content_Type_Hub_Database
    Use existing application pool: SharePoint Web Service Default
    : "Enter the url of web site which going to act as publisher for content type". Click on "Ok" button

How to deploy content type hub ?To deploy content type hub on site you required to activate "Content Type Syndication Hub" feature on publisher site which in Site Collection features.


After activating feature go to content type gallery of site, click on Site Actions -> Site Settings -> under Galleries section you find "Site Content Types" click on it. On site content types page select "Content Type Hub Demo" content type.

In Settings section of Content type Click on "Manage publishing for this content type" and On Content type publishing select "Publish" and click on "OK" button.
After this we required to run Timer jobs manually first time to publish the content type. Go to "SharePoint 2010 Central Administration" -> Click on Monitoring -> Click on Review job definitions.

In Job Definitions run the jobs in following order
1.Content type hub
2.Content Type Subscriber job for publishing site
3.Content Type Subscriber job for subscriber sites.

Go to subscriber site and Content type gallery you find the "Content Type Hub Demo" content type.






1 comment:

  1. Nice post. Here is one more post on content type hub and publishing contemt types in sharepoint 2013

    http://sureshpydi.blogspot.in/2013/04/sharepoint-201-content-type-publishing.html

    ReplyDelete