Configure the Content Type Hub


Scenario/Problem: You need to set or change the content type hub which should be used by the metadata service application.


Solution: Use the Set-SPMetadataServiceApplication cmdlet with the HubUri parameter.

The content type hub is the site collection you want to use as your main content type gallery. The metadata service application uses the specified content type hub to consume the content types that exist within the site collection. You can set the content type hub using the HubUri parameter with the Set-SPMetadataServiceApplication cmdlet, as shown in Listing 17.5.

Listing 17.5. Configuring the Content Type Hub


Set-SPMetadataServiceApplication -Identity "Managed Metadata Service"
-HubUri "http://sp2013"


When changing content type hubs, any content type packages are unpublished from the old location. Use the DoNotUnpublishAllPackages switch parameter to specify that the content type packages should not be unpublished when the content type hub setting is modified.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.159.195