This blog post is a guide on how to create a Content Type Hub Site Collection located in the root of a Web Application within its own database.

Create a Content Type Hub Database

I like to have my Content Type Hub Site Collection in its own database. Here is the code/example to create a database for the content type hub.

Example

$CTHDBName = “ContentTypeHub_DB”

$WebApplicationURL = “http://SharePointRandy/”

New-SPContentDatabase -Name ContentTypeHub_DB -WebApplication $WebApplicationURL

Further reading http://technet.microsoft.com/en-us/library/ff607572.aspx

Create a Managed Path

As I want my Content Type Hub to be at the root of my Web Application (http://<webapplication>/contenttypehub) I need to create a managed path. The PowerShell to do this is here:

Example

$RelativeURL = “/ContentTypeHub”

$WebApplicationURL = “http://SharePointRandy/”

New-SPManagedPath -RelativeURL $RelativeURL -WebApplication $WebApplicationURL
-Explicit

Further reading http://technet.microsoft.com/en-us/library/ff607693.aspx

Create Content Type Hub Site Collection

It is easy to create a Content Database through the GUI but to ensure it is located in the database just created it is easier to do in PowerShell with the –ContentDatabase Parameter.

Example

$CTHurl = “http://SharePointRandy/ContentTypeHub”

$CTHOwnerAlias = “<domain>\<user>”

$CTHTemplate = “STS#1″

$CTHDBName = “ContentTypeHub_DB”

New-SPSite -Url $CTHurl -OwnerAlias $CTHOwnerAlias -Template $CTHTemplate -ContentDatabase $CTHDBName

Further reading http://technet.microsoft.com/en-us/library/ff607937.aspx

As I don’t want to use the Content Type Hub Site Collection for anything else I like to prevent further Site Collections being created in the Content Type Hub database. To do this, run the following PowerShell:

Example

$CTHDBName = ContentTypeHub_DB

Set-SPContentDatabase -Identity $CTHDBName -Status Offline

Further reading http://technet.microsoft.com/en-us/library/ff607912.aspx

Activate Content Type Syndication Hub

You need to activate the Content Type Syndication Hub feature to allow the Managed Metadata Service Application to connect to the Content Type Hub Site Collection.

$CTHurl = “http://SharePointRandy/ContentTypeHub”

Enable-SPFeature -Identity 9a447926-5937-44cb-857a-d3829301c73b -Url $CTHurl

Connect the Managed Metadata Service Application to the Content Type Hub

To connect the Managed Metadata Service Application to the Content Type Hub you need to use the command Set-SPMetadataServiceApplication. I’ll explain this in another blog post but for now see: http://technet.microsoft.com/en-us/library/ff607738.aspx

 

Click here to register for the next SUGUK:EA  event. We hope to have some books to give away, details to follow.

 

Click here to register for the next SUGUK:EA  event. We hope to have some books and posters to give away, details to follow.

 

Please register for the next SharePoint User Group UK in East Anglia:

Sessions:

  • Symon Garfield- Working Together: The Secrets of Collaboration and  Enterprise Social Computing with SharePoint 2010
  • Giles Hamson – Integration of Project Server and SharePoint 2010: Not just another Managed Service within SharePoint

 

Here are my slides from the European SharePoint Best Practice Conference 2011.

 

Euopean SharePoint Best Practices Conference 2011I’ll be speaking at the European SharePoint Best Practices Conference this year as one of the community track speakers. For details please visit the site: http://www.sharepointbestpractices.co.uk/

 

The very first SharePoint Saturday is not far away.

Join SharePoint architects, developers, and other professionals that work with Microsoft Office SharePoint Server 2007 & 2010 for this ‘SharePoint Saturday’ UK event.  SharePoint Saturday is an educational, informative & lively day filled with sessions from respected SharePoint professionals & MVPs, covering a wide variety of SharePoint-orientated topics.  SharePoint Saturday is FREE, open to the public and is your local chance to immerse yourself in SharePoint!

Sign up here: http://www.sharepointsaturday.org/uk/default.aspx

 

SharePoint 2010 uses modal dialog boxes (very Web 2.0) to minimise sever requests. This speeds up the user experience over previous versions.

Many companies run IE because lets face it, it is a lot easier to deploy and lock down. However IE has never been the fastest browser. However with the 4th release of the preview of IE9 things may start to change. Realistically I don’t think IE will ever be the fastest browser on the market but I think it will be so close the majority of users will not notice a difference from the likes of Firefox, Opera and Chrome.

So if you are in IT and your company use SharePoint 2010 be prepared to roll out IE9 early 2011. But don’t wait try it out now in your development and test environments.

 

Recently I have had to migrate from a single server based SharePoint 2007 implementation to a seven server farm. There are many ways to do this but the situation I was in I opted to use Metalogix Migration Manager http://www.metalogix.net/.
Installation is very easy and unlike other products requires no down time, although I cannot remember if a reboot is recommended or not.
I used Metalogix SharePoint Site Migration Manager but the new version which allows you to migrate from SharePoint 2003 or 2007 to 2010 is in beta now, see: http://www.metalogix.net/Products/SharePoint-Site-Migration-Manager-2010/.

I had a few issues with my migration but these were not due to the tool but rather the way the original server was implemented.
The software is updated from time-to-time so check out the full list of features here: http://www.metalogix.net/SSMM/Features/. I recommend testing any software in a non-production environment first.
Overall I would give this product 8/10.
If you would like to know more leave a comment or tweet me – @SharePointRandy

 

If you are moving to SharePoint 2010 or just want to get ready for the move then you should start looking out for SharePoint 2010 books. Some of them are listed here.

Personally I am looking forward to the “Professional SharePoint 2010 Administration” by By Todd Klindt, Shane Young and Steve Caravajal

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
© 2012 SharePoint Randy Suffusion theme by Sayontan Sinha