Skip to main content
< All Articles

How to make the Content Types available on all SharePoint Sites via the Content Type Gallery

Posted on June 3, 2021
SharePoint

If you are a big fan of metadata, like me, I am sure you are also familiar with a functionality called Content Type. Content Types allow you to organize your content into logical buckets, each with its own set of metadata columns. However, making those content types available on all sites to assure consistency was always a bit of a matzo ball. In this article, I would like to explain to you the only out-of-the-box option we have in SharePoint to make those Content Types available on all your sites.

What is a Content Type?

In case you are wondering what a Content Type is or are not familiar with how to create one, I suggest you check out this post for additional information. A Content Type is essentially a unique collection of metadata columns for a specific type of content. For example, if you create a Content Type called Content Type Gallery, it might contain the following metadata columns: Client Name, Amount, Due Date. If you create a Content Type called Policy, it might contain a unique set of tags like Author, Owner, Status. Such categorizations allow you to organize your content in a very consistent manner and allow for the different content types to be stored within the same document library (each with its own set of columns).

Sharepointcontenttypegallery2a

Where are the Content Types created?

The Content types are always created at the site level. This makes them available to all the document libraries on that site. I actually published a post a while back on how to create and customize the content types. Check it out here.

Sharepointcontenttypegallery3

What’s the problem with using the content types in other sites?

With the older versions of SharePoint, when we relied on a classic subsite architecture, reusing the content types was easy. You would create the Content Types at the root of a site collection (the top-level site), and it magically propagated to all the subsites underneath. That allowed for easy reuse and standardization across all the sites within a site collection.

In contrast, with modern SharePoint, we now have what we call a “Flat” Information Architecture. While generally, this is a superior model to organize sites and content, it does have one big limitation. No more subsite inheritance of Content Types (since there are no more subsites!)

So what that means is that if you, say, create a Content Type in one Site, there is no way to make it available on another site.

Meet the Content Type Gallery

Luckily, we do have a way to make the Content Types available on all sites. We can do so via the Content Type Gallery feature.

Sharepointcontenttypegallery1

What is a Content Type Gallery?

Content Type Gallery is the functionality available within SharePoint Admin Center, allowing you to create, manage and publish content types to all the sites available in your tenant.

How to access Content Type Gallery?

  1. Click on Microsoft 365 App Launcher > Admin Sharepointcontenttypegallery4
  2. Under Admin Centers, choose SharePoint Admin Center Sharepointcontenttypegallery5
  3. Under Content Services, click on Content Type Gallery (by the way, this is the same way you access the global Term Store as well!) Content Type Gallery

Content Type Gallery is a hidden site collection

Those who used the older versions of SharePoint, might recognize and realize that the Content Type Gallery is not a new feature at all. We had this functionality for a while now. In the past, we used to call it Content Type Hub, and it was a hidden site collection that you could only access via domainname.sharepoint.com/sites/contenttypehub URL. If you add /sites/contenttypehub at the end of your tenant URL, you will end up on a hidden site collection that we used in the past to publish content types. Content Type Gallery is just a modernized version of that hidden site collection (with a modern interface).

Sharepointcontenttypegallery7

47

How to publish Content Types to all sites

Step 1: Create Content Types

I already explained how to create content types in the past in the classic interface. So feel free to check out those instructions here. The steps would be the same in terms of creating content types and adding site-level columns; the only difference would be that you would be doing so using the modern interface within the Content Type Gallery.

  1. Click on Create content type Sharepointcontenttypegallery8
  2. Give it a name, assign a Group (category), assign the Parent Content type, and hit Create. Again, I explain all this here. Content Type Gallery
  3. At this point, you would be creating/adding Site Level Columns, just like on a regular site. Content Type Gallery

Step 2: Publish Content Types

So we finally came to the step that is essentially why Content Type Gallery exists in the first place. Once you create a Content Type on a site, you are done and can start using it right away. Content Type Gallery is different. It is your centralized Content Type Dashboard, and once you create Content Types here, you need to publish them (to disseminate to all the sites in your tenant).

  1. Click on the Content Type you would like to publish and click Publish Sharepointcontenttypegallery11
  2. If you never published the Content Type before, Publish will be the default choice, so just click Save Content Type Gallery

Now, one thing with this Content Type Gallery is that you have to be patient. Since this is a legacy feature, it relies on a Timer Job that runs once in a while and publishes the Content Types to all the sites in your tenant. So published Content Types won’t appear in the receiving sites immediately. You need to wait anywhere between a few hours to 24 hours. Check out my YouTube videos in the meantime :-)

Step 3: Use published Content Types in the receiving sites

Once the Content Types have been published and you waited long enough for them to appear on your site, they can be used just like “regular” content types.

  1. Click on Gear Icon > Site Information Sharepointcontenttypegallery21
  2. Click on View all site settings Sharepointcontenttypegallery22
  3. Under Web Designer Galleries, click on Site content types Sharepointcontenttypegallery23
  4. And you will see the published Content types in a list of all the available content types Sharepointcontenttypegallery24
  5. And of course, at this point, you can add this content type to your document library or list Sharepointcontenttypegallery25

How to make the changes to the Content Types in the Content Type Gallery

It is imperative to note that once you publish the Content Types from the Content Type Gallery, you have to maintain them from there as well. If you go to any site once the Content Type had been published, you won’t be able to maintain it from there – all the regular Content Type features like the ability to add columns, modify settings, or delete a content type will not be available.

Sharepointcontenttypegallery13

  1. In case you need to make changes to the Content Type defined in the Content Type Gallery, click on that Content Type Content Type Gallery
  2. Make whatever changes you need to make to the Content Type (i.e., Add new Site Columns) Sharepointcontenttypegallery15
  3. Click Publish button, then Republish, then Save Content Type Gallery

55

Content Type Publishing for the Site Owners

In this section of my article, I want to highlight a few features to be aware of if you are the Site Owner and would like to take advantage of the Content Types defined by your SharePoint Administrator within the Content Type Gallery. Site Owners can access those features by clicking on Content Type Publishing under Site Collection Administration.

Sharepointcontenttypegallery17

Refresh All Published Content Types

This feature allows Site Owners to expedite the updates made to the published Content Types from within the Content Type Gallery. So if you check the box next to Refresh all published content types on next update and then click OK, the updates to the content types will be picked up by the Timer Job quicker.

Content Type Gallery

Content type publishing error log

This might become handy if the content types have been published in the Content Type Gallery, you waited for a long time, even checked the above Refresh button, but yet, the published Content Types or its updates never made it to your site. The most likely cause for this – some kind of errors have occurred during publishing. So if you click on Content type publishing error log – it might shed some information (if there are no errors, it will give you “the site can’t be reached” page)

Sharepointcontenttypegallery19

However, if the errors do exist, it will show you a list of errors. For example, below, I encountered an error where I already had a Content Type called Project Document defined on my site locally. And then, I went to the Content Type Gallery and created and published a Content Type with the same name. So when trying to publish such content type to my site, it ran into a conflict, since the names match, and it did not want to overwrite it.

Contenttypegallerysharepoint1

Hubs

Under Hubs (not to be confused with the modern hub sites we now have), you will see all the Content Types that have been created in the Content Type Gallery and successfully published on your site.

Sharepointcontenttypegallery20

About Me

I’m Greg Zelfond, a U.S. based SharePoint consultant, and I provide affordable out-of-the-box SharePoint consulting, training, and configuration assistance to small and medium-sized businesses all over the world.

Need help?