As you’ve probably seen by now, once you create multiple site collections in the same web application, you don’t get a lot of options as far as database location. Well, it’s really not that complicated: Create the databases for the new site collections (easy enough in CA) Run the following PowerShell command for each site... Continue Reading →
SharePoint 2010 Developer Dashboard
Part of SharePoint 2010, a new tool was added to made life easier: the developer dashboard. By default disabled, you can enable it multiple ways: Using STSADM: stsadm –o setproperty –pn developer-dashboard –pv ondemand Using PowerShell: $level=”OnDemand” [void][System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”) [void][System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint.Administration”) $contentSvc=[Microsoft.SharePoint.Administration.SPWebService]::ContentService $contentSvc.DeveloperDashboardSettings.DisplayLevel=([Enum]::Parse([Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel],$level)) $contentSvc.DeveloperDashboardSettings.Update() Write-host(“Level:” + $contentSvc.DeveloperDashboardSettings.DisplayLevel) Values available to be set for the developer dashboard: On... Continue Reading →
SharePoint DEV
Ok, this should be common knowledge by now, but when setting your own development box for SharePoint (whether it’s 2007 or 2010), these are the changes to web.config required to show proper error messages, and none of that “friendly” end-user centric messages: <configuration> <SharePoint> <SafeMode CallStack=”true” … /> … </SharePoint> <system.web> <CustomErrors mode=”off” /> …... Continue Reading →
Team Sites on Publishing Template
This is not something I do every day, and I keep forgetting how to do it, so I’m posting this as a self-reminder. On a Publishing site (collection), if I need to add sub-sites based on the Team Site template: Go to Site Settings > Look and Feel > Page Layouts and Site Templates Add... Continue Reading →
SharePoint 2010 version features
Because I've been asked so many times what's the difference between the versions, and what's included at what level, here's the official list of features by version: http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx Also, a good list, same thing but different layout: http://thecommunicator.co.cc/2010/05/03/sharepoint-2010-feature-comparison-sharepoint-foundation-2010-vs-sharepoint-2010-standardenterprise/ Enjoy!