Breaking News
Loading...
Kamis, 18 Juli 2013

How to update the Content Type Hub URL

We recently moved our DEV SharePoint 2013 DB’s to our QA environment. We moved the main content DB, the managed metadata DB, and the content hub DB. Everything was recreated and moved over correctly. 

But when I went to change a content type in the Site Collection Content Type Hub, the content type appeared as “read only”. After some investigation I realised the “Managed Metadata Service” was still showing the old DEV Content Type Hub URL.

How to check the Content Type Hub URL:

  1. Open Central Administration
  2. Click “Manage service applications”, under “Application Management”
     photo Picture1-2.jpg
  3. Select “Managed Metadata” service (the first one). Click on the side, to select it, but not open it.
  4. Click “Properties”, in the Ribbon
     photo Picture2.jpg
  5. Scroll to the bottom, and confirm the Content Type Hub is the correct Content Type Hub URL

How to update the Content Type Hub URL:

  1. Goto the server (Server 2012) which hosts the SharePoint 2013 Central Administration.
  2. Open the “SharePoint 2013 Management Shell” as the Administrator
    a.  Open the Search
         i.  Hover over the bottom right corner
         ii. Click on the Search icon
    b.  Search for “SharePoint 2013 Management Shell”
    c.  Right click “SharePoint 2013 Management Shell”
    d.  Select “Run as Administrator”, at the bottom
  3. Run the script below:
    Set-SPMetadataServiceApplication -Identity "{Managed Metadata Service name}" -HubURI "{Content Type Hub URL}"
    Example:
    Set-SPMetadataServiceApplication -Identity "Managed Metadata" -HubURI "http://vm-sharepoint2013-qa-hub"
  4. Check the Content Type Hub URL is correct, see above section (How to check the Content Type Hub URL)

Now to edit the content type:

  1. Open the Content Type Hub (http://vm-sharepoint2013-qa-hub)
  2. Click the cog (Site Actions), top right corner
  3. Select “Site Settings”
  4. Click “Site content types”, under “Web Designer Galleries”
  5. Click on the Content Type you want to change
  6. Click “Advanced Settings”, under "Settings", near the top
     photo Picture3.jpg
  7. Select “No”, under “Read Only”
     photo Picture4.jpg
  8. Click “OK”
  9. Now change the Content Type as needed.

0 komentar:

Posting Komentar

Quick Message
Press Esc to close
Copyright © 2013 Microsoft Office 365 All Right Reserved