In this SharePoint Tutorial, We will discuss what is a Content Type Hub in SharePoint Online or SharePoint 2013/2016/2019. Then we will see how we can create and use Content Type Hub in SharePoint Online and On-premises 2013/2016/2016.
Also, We will discuss how we can Publish/Republish Content Type Hub in SharePoint Online or SharePoint 2013/2016/2019. How we can also run the timer jobs for Content type hub in SharePoint on-premises.
Here we will discuss, how we can create and use content type hub in SharePoint Online as well as SharePoint 2013/2016/2019.
You can read few tutorials on content type in SharePoint.
- How to Create and Use Content type in SharePoint Online/2013/2016
- SharePoint content type CSOM examples
What is the Content Type Hub in SharePoint?
Content Type Hub is a central location where you can manage and publish your content types in SharePoint Online or in SharePoint On-premises.
Content Type Hub is required where you want to use a custom Content Type that can make it available to multiple sites in your SharePoint environment. That means you can use this custom content type in all SharePoint sites wherever you want.
In SharePoint Content Types, As you know, there are many numbers of built-in content types will be present as “Document“, “Event“, “Task” etc. Each and every Content Type has set of Site columns which a user can use.
Similarly, You can create a new Custom Content Type that can be used in any SharePoint Sites throughout your SharePoint environment.
By using this SharePoint Tutorial, I will show you how we can create and publish a content type for use throughout your SharePoint tenant.
Create and use Content Type Hub in SharePoint Online
While you are using SharePoint on-premises to create a Content Type Hub, then you are creating your own Site Collection to become the content type hub.
In this SharePoint Online, when you will sign up for Office 365, SharePoint Online already provided the Site collection URL for you in this below URL:
https://YourTenant.sharepoint.com/sites/contenttypehub
Once you will enter in the SharePoint Online Content Type Hub, Go to Site Settings -> Site Collection Features. In that Features, You can see that the Content Type Syndication Hub feature is already activated for this URL (By default activated).
You can view the activated feature in below screenshot.

Create Content type in Content Type Hub Site Collection
To create a new content type in the Content Type Hub Site Collection, go to Site Settings -> Site Content Types -> Create.

Once you will click on “Create“, a “New Site Content Type” page will appear where you have to create a Site Content Type.
Enter “Name” and “Description” for the new Site Content Type. Choose the “Parent Content Type” as “Item” and “Existing group” as “Custom Content Type“. Click on “OK“.

In the below screenshot, You can see that I have created SharePoint Document content type in the Custom Content Types group (based on the Item content type) within the Content Type Hub Site Collection.
Now I need to publish this Site Content Type because I have to use this content type in multiple numbers of lists throughout my SharePoint Online tenant. For that, Click on “Manage publishing for the content type” in that content type page.

Publish a content type from a content publishing hub
In this new Content Type, the “Publish” option is already selected which you cannot change it further. Simply, Click on “OK“. If you want to modify this content type later, then you can “Republish” it.
In this example, as I have already click on “OK” once, So I can only “Republish” now instead of “Publish“.

Now go to the SharePoint Online Site Collection Administration and select your Site Collection where you want to use the new content types (Site Settings -> Site Collection Administration -> Content Type Publishing).

In the “Content Type Publishing Hubs“, Enable the checkbox of “Refresh all published content types on next update” and then click on “OK“.

This “Refresh all published content types on next update” option helps to update all published Content Types the next time the Content Type Subscriber timer job runs.
After a while, You can see that the Site Collection is subscribed to the SharePoint Document type as shown below.

Now in the below screenshot, You can see my SharePoint Document content type in the list of Site Content Types in the subsite where I want to use it (in this case, my TSInfoTeam).

Content Type Hub in SharePoint 2013/2016/2019
As I have explained above that While you are using SharePoint on-premises 2016 to create a Content Type Hub, then you need to create your Web application and root Site Collection to become the content type hub.
Also, you can create a root Site Collection in the existing Web application. Below screenshot represents the new Site Collection under a Web application.
Here, I have given the SharePoint Site Collection name as “ContentTypeHUB” and selected a template as “Team Site“.

Not only Team Site, But You can also create any templates from the Site template.
As you can see that I have created a new root site collection for the new web application. As I have chosen Team Site, So below screenshot represents a new Team Site as “ContentTypeHUB“.

Create and Use Content Type Hub in SharePoint 2013/2016/2019
Once you will enter in the SharePoint On-premises team site, Go to Site Settings -> Site Collection Features as shown below.

In that Site Collection features, Activate the “Content type Syndication Hub” of the site feature.

Now create a new Site content types under the site collection. To create a new Site Content types, Go to Site Settings -> Site content types under the Web Designer Galleries.

In the Site Content Types, Click on “Create” as like below screenshot.

Once you will click on “Create“, a “New Site Content Type” page will appear where you have to create a Site Content Type.
Enter “Name” and “Description” for the new Site Content Type. Choose the “Parent Content Type” as “Item” and “Existing group” as “Custom Content Type“. Click on “OK“.

In the below screenshot, You can see that I have created a Demo Content Type in the Custom Content Types group (based on the Item content type) within the Content Type Hub Site Collection.
Now I need to publish this Site Content Type because I have to use this content type in multiple numbers of lists throughout my SharePoint Online tenant. For that, Click on “Manage publishing for the content type” in that content type page.

Now open your SharePoint Central Administration and then select Manage Service Application under the Application management.

Choose Managed Metadata Service > Click Properties. In the “New Managed Metadata Service” page, Enter the Content Type hub URL as shown below and click on “OK“.

Now choose the connection (sub item) of Managed Metadata Service. Check the following options that ensure subscribing published content types. Here, you can see your new content type as like below screenshot.
If anyone option is unchecked, then put the check in that option and click on “OK“.

Now go back to the Source Content Type in the content type hub site collection. Then site settings and choose the content type which we have created. Choose the Content Type Settings -> Manage publishing for this content Type.

In the Content Type Publishing page, Choose the “Publish” option and click on “OK“. If you want to modify this content type later, then you can “Republish” it.

Run Content Type Hub timer job
The content type hub timer job needs to run before the content type available in other site collections in SharePoint.
We can run the timer jobs so that the content type will be available immediately.
Open SharePoint Central Administration. Select Monitoring -> Review Job definitions.

In that “Review Job definitions“, Select the following jobs:
- Content Type Hub
- Content Type Subscriber

Click on the Run Now option for each timer job as shown below inducing a few minutes delay in between.

After a while, You can see the Web application name is showing in the
Edit Timer Job Properties. As my Web application name is “MyDemoWebApp“, That’s why it is showing in the below screenshot. Click on “Run Now“.

Go to the SharePoint 2016 Site Collection Administration and select your Site Collection where you want to use the new content types (Site Settings -> Site Collection Administration -> Content Type Publishing)

In the “Content Type Publishing Hubs“, Enable the checkbox of “Refresh all published content types on next update” and then click on “OK“.
This “Refresh all published content types on next update” option helps to update all published Content Types the next time the Content Type Subscriber timer job runs.
After a while, You can see that the Site Collection is subscribed to the Demo Content Type (Based on Custom Content Type) as shown below.

Refresh the Subscribing site collection and you should be able to see the new content type. Now in the below screenshot, You can see my Demo Content Type in my Team Site.

Hence in this SharePoint Tutorial, We discussed what is a Content Type Hub, How we can create a Content Type Hub in SharePoint Online and On-premises 2013/2016/2019.
You may like following SharePoint content type tutorials:
- SharePoint Hosted App or Add-in Example: Create Site Column, Content type, and List in SharePoint Online using Visual Studio 2017
- Add multiple Office templates as content type to a document library in SharePoint Online/2013/2016
- Add a content type to list or document library and Change new button order and default content type in SharePoint online
- Working with a link or link to a document content type in SharePoint Online document library
- Delete content type from SharePoint list using PowerShell
- Hide content type field in edit form in SharePoint Online/2013/2016
- SharePoint 2013 Create Site Column and Content Types Using PowerShell
- [Video Tutorial] Add a content type to SharePoint Online List using Browser
Also, We discussed how we can Publish/Republish content type in the Content Type Hub site collection. How we can run Timer jobs in SharePoint On-premises 2013/2016/2019.
I am Bijay a Microsoft MVP (8 times – My MVP Profile) in SharePoint and have more than 15 years of expertise in SharePoint Online Office 365, SharePoint subscription edition, and SharePoint 2019/2016/2013. Currently working in my own venture TSInfo Technologies a SharePoint development, consulting, and training company. I also run the popular SharePoint website EnjoySharePoint.com
How can I republish a contenttype in my contenttyphub with PnP Powershell?
When I create a new site with Powershell, I have to assign my content types to this new site. To do this, I have to republish my content types. How does this work with PnP Powershell?