Search This Blog

Wednesday, December 24, 2014

Content Type Hub in SharePoint 2010--(Very Important)

Introduction

  1. SharePoint 2010 introduces a new concept called Content Type Hub.
  2. This is the way of making centralized content types and re-usable in the SharePoint farm. 
  3. With SharePoint 2010, this limitation is resolved and with content type hub feature, content types    can be created and published and can be re-used/shared across the web applications.
  4. Content type created in one site collection cannot be shared to other site collections of same web application or another web application in MOSS 2007. 
  5.  Finally the site collections present in the web application which subscribes the metadata service will get this content type.
Implementation Steps

We will be focusing the below points during the implementation.
  1. Create Web Application and Site Collection
  2. Configure Content Type Hub
  3. Create Custom Content Type and  Site Columns
  4. Run the Timer Jobs - Content Type Hub and Content Type Subscriber
  5. Create another web application to see the content types 

1. Create Web Application and Site Collection
  • Open Central Admin Site and Create New Web Application. See the below image for more information.

  • Create Site Collection.



2. Configure Content Type Hub
  • Open Central Admin Site. Go to 'Application Management' --> 'Manage Service Application' under 'Service Applications' section.
  • Look for 'Managed Metadata Service' in the list. If not present create one. See the below image.

             If already exist, select 'Managed Metadata Service' and click in 'Properties' in the ribbon. Enter 'Content Type Hub' URL as created in step 1.
  • Select 'Managed Metadata Service' with type 'Managed Metadata Service Connection' and click on 'Properties' in the ribbon. Make sure the selection of check boxes shown as per below image.




3. Create Custom Content Type and Site Columns
  • Browse to Site Collection created in step 2. The name of the site collection site is 'Content Type Hub'.
  • Go to 'Site Actions' --> 'Settings'.
  • Select 'Site Content Types' link under 'Galleries' section.
  • Click on 'Create' link.
  • Create new content type. See the below image.


  • Create columns for the 'CTCentralized' content type created in above step. I have created two new columns using 'Add from new column' option. They are 'Phone Number' and 'Zip Code'. See the below image.
  • Click on 'Manage Publishing for this Content Type' link present under the 'Settings' section. See the below image.

  • Select 'Publish' option and click 'OK' button. See the below image.



4. Run the Timer Jobs - Content Type Hub and Content Type Subscriber
  • Open Central Admin Site.
  • Click on 'Monitoring' --> 'Check job status' link present under 'Timer Jobs'.
  • Find below timer jobs and select it and run it.
    • Content Type Hub
    • Content Type Subscriber

5. Create another web application to see the content types
  • Create another web application or another site collection and follow the steps defined in section 2.
  • I have created new web application with site collection name 'Content Type Hub Test'.
  • Go to 'Site Actions' --> 'Settings'.
  • Select 'Site Content Types' link under 'Galleries' section.
  • You should be able to see the content types. See the below images.


1 comment: