Thursday, March 6, 2014

SharePoint Administration: Publish Content Types to all Site Collections.

Solution:    SharePoint allows its users to create the enterprise content types that could be shared between the other site collections.  The  way  to  publish  the  content  types  is  to  divide  the  site collections  into  two  types;  the  one  who  will  act  as  content  hub  and  other  act  as  the  listeners.
Managed metadata service is used to configure site collection as a content hub. The following is the series of steps for configuring content type as an enterprise;

1.  Make a Content Hub
  • Consider that there is already an a site collection available named as ‘http://content-hub’.
  • Go to Central Administration, click the Application Management, under Service Applications, and click the Manage Service Applications.  Select ‘Managed Metadata service’.  Go to its properties and enter the http://content-hub url into the Content type hub option.
  • Now  select  the Managed  Metadata  Service  Connection,  and  then  click  Properties.  What is important is “consume content type from the content type gallery”   option. Make sure that it is being marked.

2.  Publishing and Consuming Content Types across Site Collection
  • Go the content hub site collection.
  • Activate the “Content type syndication Hub” of the site collection. Go to Site Settings -> Site Collection Features.  Ensure that ‘Content type syndication hub site collection feature’ is activated.
  • Goto  to  Site  Actions->Site  Settings->Under  Galleries->Site  Content  Type->Create  a  new content type.
  • Once  content  type  is  created,  Click  the  Manage  content  type  publishing  and  Check  the Publish Radio button and say OK. This will publish the content type.
  • Goto Central Administration->Monitoring->Review job definition and run the timer jobs i.e. Content Type Hub and Content Type Subscriber.
  • Now content types are published.
  • Now  goto  to  the  subscriber  site  and  Go  to  Site  Settings  |  Site  Collection  Administration  | Content Type Publishing. Check the Refresh all Published Content types on next update and say OK. Now your subscriber site should also contain enterprise content types published by http://content-hub.