SharePoint 2010 Content Type Publishing

The following is an excerpt from Introducing SharePoint 2010 from Understanding SharePoint Journal. 

SharePoint 2010 Content Type Subscriptions

Another nice feature of the metadata services in SharePoint 2010 is the option for centralized handling of content types. In short, you can now define a site collection to be a content type hub and then set up other site collections to subscribe to the content types published from that hub site collection.

This allows you to centrally manage all your content types and send updates to these content types from a single location. While third-party products have offered similar functionality for SharePoint 2007, it is nice to see Microsoft including this as part of the product.

Setting up content type publishing also takes a few steps, however.

Setting up Content Type Publishing

Start by going to the Central Administration web site and create a new Site Collection to hold the centralized content types. You’ll find the Create site collections link on the front page of the Central Administration web site. I have named mine HR (for Hub Repository) and placed it under the Sites managed path, so the full URL to my new content type hub is http://sp2010lab-01/Sites/HR.

Then, you need to enable a site collection feature of the newly created site collection. Open the HR site, go to the Site Settings page, and then follow the Site collection features link. Click to activate the Content Type Syndication Hub feature.

Next, you need to define that this will be the content type hub for the current Managed Metadata service application, and you need to do this back in Central Administration.

Go to the Manage Service Applications from the front page of the Central Administration web site and select the Managed Metadata Service application. With the Managed Metadata Service application selected, click the Properties button in the Ribbon, as shown below.
MANAGED METADATA SERVICE PROPERTIES
At the very end of the Properties popup dialog box, you will find the section for Content Type Hub. Enter the URL to your content type hub site collection, in my case, http://sp2010lab-01/Sites/HR.

Be aware, though, that there is no way to change this association afterwards, so if you want to use another content type hub, you need to create a new managed metadata service application.

Hit OK to save your settings.

There’s one more task you need to do while on the Manage Service Applications page. Select the Managed Metadata Service connection located just below the Managed Metadata Service application, as indicated above (Connection).

Then, click the properties button again and enable the Consumes content types from the Content Type Gallery at http://sp2010lab-01/Sites/HR option shown below before you hit OK to save your changes.
CONSUME CONTENT TYPES
That’s it, your content type publishing is ready. Any web application connected to the Managed Metadata Service application now receives content types that you publish from the content type hub.

Let’s try that out.

Testing you Content Type Publishing

Go to the Site Settings page of your content type hub repository and then to the Site Content Types page. You can set up any content type to be published on the hub, however, for this exercise, create a new content type.

This is a nice chance to use that managed metadata term set we created earlier, so let’s create a product image content type. We’ll also use this content type later in this issue. Name the new content type Product Image and inherit from the Image content type in the Digital Assets Content Types group.

Then, on the content type settings page, add a new Managed Metadata column pointing to the Products term store, just like you did for the Tasks list earlier in this issue. Refer back to the previous exercise if you need a refresher.

Finally, notice that, on the Product Image content type settings page, you have a link to Manage publishing for this content type. Click that link now, and note that you have three options, only one of which is enabled, the Publish option. Hit OK to publish your new Product Image content type to the hub.

If you later want to retract your published content type, you do so from the same page.

The hub synchronization runs as a timer job every 15 minutes. If you want to speed up the publishing, you can run the Content Type Hub and Content Type Subscriber jobs manually from the Monitoring page of Central Administration.

After the synchronization jobs have completed, however, you can now go to any site collection in a web application connected to the Managed Metadata Service application and check out the Content Type Publishing link from the Site Settings page. In my site collection, the page looks like this:

Figure 34

Changes you make to the content type in the hub site collection are now automatically propagated to the site collections subscribing to that hub.

The following is an excerpt from Introducing SharePoint 2010 from Understanding SharePoint Journal. If you want the full issue, you can get that for $14.95 at http://www.introducingsharepoint2010.com/.

.b

Found this article valuable? Want to show your appreciation? Here are some options:

a) Click on the banners anywhere on the site to visit my blog's sponsors. They are all hand-picked and are selected based on providing great products and services to the SharePoint community.

b) Donate Bitcoins! I love Bitcoins, and you can donate if you'd like by clicking the button below.

c) Spread the word! Below, you should find links to sharing this article on your favorite social media sites. I'm an attention junkie, so sharing is caring in my book!

Pin It

Published by

Bjørn Furuknap

I previously did SharePoint. These days, I try new things to see where I can find the passion. If you have great ideas, cool projects, or is in general an awesome person, get in touch and we might find out together.

10 thoughts on “SharePoint 2010 Content Type Publishing”

  1. Hi,

    I created and published a content type from my Content Type Hub. I manually started the Content Type Hub and Content Type Subscriber jobs.

    But I am having an issue. I can't seem to find the 'Content Type Publishing' link from the Site Settings page…

    Thomas

  2. I'm having the same issue on three different servers. Service Applications were created using the configuration wizard. My managed metadata service is configured.

  3. Hi,

    it is possible to change the URL – just practice the following PowerShell lines:

    $ Application Service name = "name" "
    $ ContentTypeHub ""

    Set-Service Application SPMetadataServiceApplication-Identity $ name-$ HubUri ContentTypeHub

    Works! Is impeccable and a delete unnecessary.

    Greetings
    Simon

  4. Hi,

    it is possible to change the URL – just practice the following PowerShell lines:

    $ Application Service name = "name" "
    $ ContentTypeHub ""

    Set-Service Application SPMetadataServiceApplication-Identity $ name-$ HubUri ContentTypeHub

    Works! Is impeccable and a delete unnecessary.

    Greetings
    Simon

  5. Thomas & Shane
    I had the same issue – solved it by ACTIVATING THE "CONTENT TYPE SYNDICATION HUB" FEATURE, at the site collection level.
    Hope this will help you too.

Leave a Reply

Your email address will not be published.