Here are steps for creating and maintaining a SharePoint content type hub with associated document templates for use across your SharePoint farm using out-of-the-box functionality. This allows an enterprise to ensure the latest standardized forms are used when creating new documents.
These are the steps for SharePoint 2010 and are similar for SharePoint 2013.
Create a new site collection for the content type hub using a team site template.
- To conserve resources, I recommend a site collection from managed path like /sites/cth (i.e., not the root) on an existing web application, but you can use the root site collection and / or a new web application if you have special needs.
- Do not use a Blank site template as this does not have the features needed.
In the new CTH site collection,
Site Actions > Site Settings > Site Collection Administration - Site Collection Features
- Activate "Content Type Syndication Hub"
- Copy the path to your content type hub to your clipboard, e.g., http://SharePoint/sites/cth
Central Admin settings
Central Admin > Application Management - Manage service applications > Managed Metadata Service > Ribbon – Service Applications > Properties
- Paste the URL from the clipboard from above, e.g., http://SharePoint/sites/cth
- Click report syndication import errors.
- From the list of service applications click "Managed Metadata Service Connection" > Properties > "Consumes content types from the …" checkbox
Alternatively, if the Manage service applications does not exist
- Create it
- Paste the CTH site created above into the "Content Type hub" text box
- Start the service from CA > System Settings – Manage services on server > Managed Metadata Web Service – Start
- Start the IIS SharePoint Web Services application pool
- May also need IISReset before the connection can be accessed.
- Optional: run timer jobs immediately for Content Type Hub and Content Type Subscriber: CA > Monitoring > Timer Jobs - Review Jobs
Add information architecture to the CTH site collection
- Create site columns as needed
As part of creating site content types
Set the document template.
This step is optional and applies only to document content types. When this step is done, any subscribing site collections' document libraries that have this content type associated will open this document from the New Document dropdown from the document library ribbon.
- In the Site Content Type Settings click Advanced Settings
- In the Document Template section, click the "Upload a new document template" radio button > Browse > Open the template for this content type > Ok
Note the "Enter the URL of an existing document template:" check box and text box for the document template does not promote the document template to the subscribing sites.
- In the Site Content Type Settings, click "Manage publishing for this content type" > Publish radio button > Ok
- As long as the Web Application use the same Metadata Service Application the content type hub is using, it can receive the content types from the hub. Note that you may set up different content type hubs for different web applications.
Editing a Content Type's Document Template
If a template changes, make the change once in the content type hub and republish. In a few minutes, the latest template is available on the subscribing sites.
Navigate to the content type's advanced settings page
- To edit in place, click (Edit Template)
- To upload a new template, use "Upload a new document template:"
- From the Content Type settings page, click "Manage publishing for this content type" and then Ok to republish the content type.
- Beware. SharePoint's Blank site template does not activate the feature required to host or subscribe to a CTH. You can use PowerShell or stsadm to activate the feature.