Friday 21 December 2012

Matrix of SharePoint 2010 Site Templates and Features

When having to create some custom site templates in SharePoint 2010 I decided to start from the blank site template so I know exactly which features are active on my template.

I found it useful to see which features Microsoft activate out of the box for some of their templates, and build my own based on the pieces of functionality required.

Rather than keep going back to view site collection and site features I've created a list of all the out of the box SharePoint 2010 templates available within Central Administration and the features that are activated on each. Be aware the below table does not include hidden features.

A good example of where this can be a problem is with the Records Centre template, this has the hidden taxonomy feature active but is not visible in the UI.

If you require to see which hidden features are active on any given site you can use SharePoint Manager 2010 (codeplex) to view these.

Template Name Site Collection Features Site Features
Blank Site
Advance Web Analytics Office Synchronisation for External Lists
Disposition Approval Workflow Team Collaboration Lists
Three-state Workflow
Records Centre Advance Web Analytics Content Organiser
Disposition Approval Workflow E-mail Integration with Content Organiser
Document ID Service Hold and eDiscovery
Document Sets Metadata Navigation and Filtering
In Plane Records Management Offline Synchronisation for External Lists
Library and Folder Based Retention SharePoint Server Enterprise Site Features
Report Server Integration Feature SharePoint Server Standard Site Features
Reporting Team Collaboration Lists
SharePoint Server Enterprise Site Collection Features
SharePoint Server Standard Site Collection Features
Three-state Workflow
Team Site Advanced Web Analytics Metadata Navigation and Filtering
Disposition Approval Workflow Offline Synchronisation for External Lists
Library and Folder Based Retention SharePoint Server Enterprise Site Features
Report Server Integration Feature SharePoint Server Standard Site Features
Reporting Team Collaboration Lists
SharePoint Server Enterprise Site Collection Features Wiki Page Home Page
SharePoint Server Standard Site Collection Features
Three-state Workflow
Document Wokspace Advanced Web Analytics Metadata Navigation and Filtering
Disposition Approval Workflow Offline Synchronisation for External Lists
Report Server Integration Feature SharePoint Server Enterprise Site Features
Reporting SharePoint Server Standard Site Features
SharePoint Server Enterprise Site Collection Features Team Collaboration Lists
SharePoint Server Standard Site Collection Features
Three-state Workflow
Blog Advanced Web Analytics Metadata Navigation and Filtering
Disposition Approval Workflow Offline Synchronisation for External Lists
Library and Folder Based Retention SharePoint Server Enterprise Site Features
Report Server Integration Feature SharePoint Server Standard Site Features
Reporting Team Collaboration Lists
SharePoint Server Enterprise Site Collection Features
SharePoint Server Standard Site Collection Features
Three-state Workflow
Group Work Site Advanced Web Analytics Grouo Work Lists
Disposition Approval Workflow Metadata Navigation and Filtering
Library and Folder Based Retention Offline Synchronisation for External Lists
Report Server Integration Feature SharePoint Server Enterprise Site Features
Reporting SharePoint Server Standard Site Features
SharePoint Server Enterprise Site Collection Features Team Collaboration Lists
SharePoint Server Standard Site Collection Features
Visio Process Repository Advanced Web Analytics Metadata Navigation and Filtering
Publishing Approval Workflow Offline Synchronisation for External Lists
Report Server Integration Feature SharePoint Server Enterprise Site Features
SharePoint Server Enterprise Site Collection Features SharePoint Server Standard Site Features
SharePoint Server Publishing Infrastructure Team Collaboration Lists
Document Centre Advanced Web Analytics Metadata Navigation and Filtering
Disposition Approval Workflow Offline Synchronisation for External Lists
Document ID Service SharePoint Server Enterprise Site Features
Document Sets SharePoint Server Standard Site Features
Library and Folder Based Retention Team Collaboration Lists
Report Server Integration Feature
Reporting
SharePoint Server Enterprise Site Collection Features
SharePoint Server Standard Site Collection Features
Three-state Workflow
Business Intelligence Centre Advanced Web Analytics Offline Synchronisation for External Lists
PerformancePoint  Services Site Collection Features PerformancePoint  Services Site Features
Publishing Approval Workflow SharePoint Server Standard Site Features
Report Server Integration Feature
SharePoint Server Enterprise Site Collection Features
SharePoint Server Publishing Infrastructure
Enterprise Search Centre Advanced Web Analytics Metadata Navigation and Filtering
Disposition Approval Workflow Offline Synchronisation for External Lists
Library and Folder Based Retention SharePoint Server Enterprise Site Features
Publishing Approval Workflow SharePoint Server Publishing
Report Server Integration Feature SharePoint Server Standard Site Features
Reporting Team Collaboration Lists
SharePoint Server Enterprise Site Collection Features
SharePoint Server Publishing Infrastructure
SharePoint Server Standard Site Collection Features
My Site Host Advanced Web Analytics Offline Synchronisation for External Lists
Report Server Integration Feature Team Collaboration Lists
Basic Search Advanced Web Analytics Offline Synchronisation for External Lists
Report Server Integration Feature Team Collaboration Lists
Search Server Web Parts
FAST Search Advanced Web Analytics Metadata Navigation and Filtering
Publishing Approval Workflow Offline Synchronisation for External Lists
Report Server Integration Feature Team Collaboration Lists
SharePoint Server Enterprise Site Collection Features
SharePoint Server Publishing Infrastructure
SharePoint Server Standard Site Collection Features
Publishing Portal Advanced Web Analytics Metadata Navigation and Filtering
Disposition Approval Workflow Offline Synchronisation for External Lists
Publishing Approval Workflow SharePoint Server Publishing
Report Server Integration Feature
SharePoint Server Publishing Infrastructure
Workflows
Enterprise Wiki Advanced Web Analytics Offline Synchronisation for External Lists
Disposition Approval Workflow Team Collaboration Lists
Publishing Approval Workflow
Report Server Integration Feature
SharePoint Server Enterprise Site Collection Features
SharePoint Server Publishing Infrastructure
SharePoint Server Standard Site Collection Features
Workflows
Basic Meeting Workspace Advanced Web Analytics Metadata Navigation and Filtering
Disposition Approval Workflow Offline Synchronisation for External Lists
Library and Folder Based Retention SharePoint Server Enterprise Site Features
Report Server Integration Feature SharePoint Server Standard Site Features
SharePoint Server Enterprise Site Collection Features Team Collaboration Lists
SharePoint Server Standard Site Collection Features
Three-state Workflow
Blank Meeting Workspace Advanced Web Analytics Metadata Navigation and Filtering
Disposition Approval Workflow Offline Synchronisation for External Lists
Library and Folder Based Retention SharePoint Server Enterprise Site Features
Report Server Integration Feature SharePoint Server Standard Site Features
SharePoint Server Enterprise Site Collection Features Team Collaboration Lists
SharePoint Server Standard Site Collection Features
Three-state Workflow
Decision Meeting Workspace Advanced Web Analytics Metadata Navigation and Filtering
Disposition Approval Workflow Offline Synchronisation for External Lists
Library and Folder Based Retention SharePoint Server Enterprise Site Features
Report Server Integration Feature SharePoint Server Standard Site Features
SharePoint Server Enterprise Site Collection Features Team Collaboration Lists
SharePoint Server Standard Site Collection Features
Three-state Workflow
Social Meeting Workspace Advanced Web Analytics Metadata Navigation and Filtering
Disposition Approval Workflow Offline Synchronisation for External Lists
Library and Folder Based Retention SharePoint Server Enterprise Site Features
Report Server Integration Feature SharePoint Server Standard Site Features
SharePoint Server Enterprise Site Collection Features Team Collaboration Lists
SharePoint Server Standard Site Collection Features
Three-state Workflow
Multipage Meeting Workspace Advanced Web Analytics Metadata Navigation and Filtering
Disposition Approval Workflow Offline Synchronisation for External Lists
Library and Folder Based Retention SharePoint Server Enterprise Site Features
Report Server Integration Feature SharePoint Server Standard Site Features
SharePoint Server Enterprise Site Collection Features Team Collaboration Lists
SharePoint Server Standard Site Collection Features
Three-state Workflow

Friday 7 December 2012

Using PowerShell to Create Multiple Send to Connections In SharePoint 2010


So having come across a scenario where I was asked to create multiple send to connections for a Records centre design, I was sure it was possible to use PowerShell to help us out here yet again!

Now I had seen basic PowerShell scripts to create a single send to rule, so by tweaking this slightly to use a source XML file containing all of the values for my multiple send to rules you can create as many as required with minimal administrative effort.
The PowerShell and XML format are below.

PowerShell:

[xml]$SendTos = gc $pwd\sendtorule.xml

        $SendTos.SendTos | % {
                $webapp = Get-SPWebApplication $_.WebApplicationUrl.TrimEnd("/")  

                $_.SendTo | % {
                                $SendTo = $_

                $officialFileHostTemp = $webapp.OfficialFileHosts | ? {
                                 $_.OfficialFileName -eq $SendTo.OfficialFileName
                  }

                 if($officialFileHostTemp -eq $null)
                  {
    
 [Microsoft.SharePoint.SPOfficialFileHost] $officialFileHost = New-Object "Microsoft.SharePoint.SPOfficialFileHost"
          $officialFileHost.Action = [Enum]::Parse([Microsoft.SharePoint.SPOfficialFileAction], $SendTo.Action)
          $officialFileHost.Explanation = $SendTo.Explanation
          $officialFileHost.OfficialFileName = $SendTo.OfficialFileName
          $officialFileHost.OfficialFileUrl = $url+$SendTo.OfficialFileUrl
          $officialFileHost.ShowOnSendToMenu = [bool]::Parse($SendTo.ShowOnSendToMenu)
          $webapp.OfficialFileHosts.Add($officialFileHost)
          $webapp.Update()
    }
       $officialFileHostTemp = $null
    }
 }
    


XML Structure

 <SendTos WebApplicationUrl="http://WebAppURL">
                <SendTo>
                                <Action>Move</Action>
                               <Explanation>Move the HR Records site collection</Explanation>
                               <OfficialFileName>Move to HR Records</OfficialFileName>
                               <OfficialFileUrl>http://siteURL/_vti_bin/officialfile.asmx</OfficialFileUrl>
                               <ShowOnSendToMenu>true</ShowOnSendToMenu>
        </SendTo>
                 <SendTo>
                              <Action>Move</Action>
                              <Explanation>Move the IT Records site collection</Explanation>
                              <OfficialFileName>Move to IT Records</OfficialFileName>
                              <OfficialFileUrl>http://siteURL/_vti_bin/officialfile.asmx</OfficialFileUrl>
                              <ShowOnSendToMenu>true</ShowOnSendToMenu>
       </SendTo>

</SendTos>



Thanks for Reading,

Matt