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.

 

SharePint Night

A chance for everyone and anyone to meet up with the speakers, SharePoint MVPs and Industry Experts from the European Best Practices SharePoint Conference.

More details: here:
http://sharepointbestpractices.co.uk/SharePint.html

 

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/

 

Last week I attended the SUGUKEA (http://suguk.org/forums/48/ShowForum.aspx). Once again the audience were treated to two very good presentations.

The first was by Jess Meats (http://blogs.technet.com/b/jessmeats/ ) on InfoPath. She demonstrated a number of the improvements to InfoPath as well as highlighted some of the general functionality.

The Second presentation was by Peter Baddeley (www.baddaz.com). Peter took showed how quickly it was possible to build business tools on top of SharePoint Foundation 2010 and how it has improved since WSS 3.0.
If there is anyone out there who wishes to present at the user group then let me know.

 

From the SUGUK website – http://suguk.org/forums/25516/ShowThread.aspx#25516

Just to let everyone know we will organising the next User Group meeting for East Anglia in Cambridge on the 11th November.

The agenda will be as follows

Session 1: Antony Clay (@Soulsailor) – Don’t do SharePoint Projects
The session will be around how most SharePoint projects are based upon business requirements not Business Value, this is why the SharePoint Implementing Community get a lot of customers who “don’t get it” or don’t feel SharePoint delivers value.

Session 2: Mark Macrae (@m_macrae) – BI Tools in 2010 Round Up
This session will look at everything from Chart Part to PerformancePoint/SSRS.

We have a new venue for the User Group Meetings

Holiday Inn Express Cambridge
15-17 Coldhams Park, Norman Way
Cambridge
CB1 3LH
(http://www.expresscambridge.co.uk/)

The meeting will start at 6.30pm, with a break in the middle and we will aim to finish about 9pm.

Please let me know by replying to this post if you want to attend.

Thanks

Peter


Peter Baddeley
ISC Software Solutions
@baddaz
pbaddeley@iscnet.co.uk
www.isc-software.com
www.baddaz.com

Please show your support and attend.

 

For some time now I have been meaning to put together a list of SharePoint versions. I have finanlly got around to it. Below is the start of the list.

Product Known As Release  Description Version KB Year Release Date
SharePoint Portal Server 2001 SPS 2001 Evaluation 10.145.3914 2001
SharePoint Portal Server 2001 SPS 2001 RTM 10.145.3941 2001
SharePoint Portal Server 2001 SPS 2001 SP1 10.145.4629 2001
SharePoint Portal Server 2001 SPS 2001 SP2 10.145.6011 2001
SharePoint Portal Server 2001 SPS 2001 SP2a 10.145.6011.5 2001
SharePoint Portal Server 2001 SPS 2001 SP3 10.145.7329 2001

The above list will be updated to show WSS 1.0 versions at a later date.

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