Search This Blog

Saturday, November 29, 2014

How to setup content type publishing hub in SharePoint 2010-in HCL

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.


Or

SP2010 Ramp up: Setting up the Content Type Hub

The following steps will set up your Content Type Hub for your SP2010 Farm:

  1. Create new web app & site collection
    1. Title: Content Type Hub
  2. Central Admin > Manage Service Applications
    1. Click once on Managed Metadata Service
      1. In Ribbon > Properties
      2. Set Content Type Hub to the url of the site collection you just created
      3. Check "Report syndication …"
      4. OK
    2. Click once on Managed Metadata Service Connection
      1. Ribbon > Properties
      2. Check all boxes
      3. OK
  3. Go to Content Type Hub site
    1. Activate Site Collection Feature: Content Type Syndication Hub
    2. Settings > Galleries > Site Content Types
    3. Create content type
  4. Go to other site collection/web app
    1. Site Settings > Site Collection Admin > Content Type Publishing (If you do not see this menu option, go here! http://pacsharepoint.com/2010/06/content-type-publishing-option-missing.html)
      1. Check "Refresh all published content type…
  5. Go to Central Admin > Monitoring > Check Job Status
    1. Find the "Content Type Subscriber" job for your other site collection
    2. Click on Content Type Subscriber
    3. Click "Run Now
  6. Once that job completes, go back to other site collection
    1. Site Settings > Site Collection Admin > Content Type Publishing
    2. You should now see the new content types from the hub appear
    3. They will also show up in Galleries > Site Content Types

No comments:

Post a Comment