Share point site provisioning techniques

Post on 24-Dec-2014

441 views 1 download

Tags:

description

 

Transcript of Share point site provisioning techniques

Site Provisioning Providers in SharePoint 2013

• Overview of site provisioning• Site provisioning techniques

Agenda

SharePoint Sites

Overview of site provisioning

Corporate WebsiteTeam Site Custom Project Site

• Type of the site is influenced by• Purpose• Availability• Maintenance and operational costs

Provisioning scenarios

Overview of site provisioning

Simple Site Provisioning• Central admin or PowerShell

Complex Provisioning• External application• Approval workflow

Wrong approach

Site provisioning techniques

SolutionTemplate based site provisioning

Site Definitions

Site provisioning techniques

• webTemp*.xml file for specific language in 15 hive• Refer to a onet.xml file in 15 hive• Can include features, modules, list instances

webTemp_*.xml onet.xml

1033

Feature stapling

Site provisioning techniques

• Stapled features activated after activating onet.xml features• Activated before the entire site is created• Bind features to a site template using another feature

Feature 1

Feature 2

Feature 3

Stapling Feature

Site Template

Web Templates

Site provisioning techniques

• Technique to use alternative onet.xml during provision time• There is no dependency with that onet.xml after the site is

provisioned• element.xml and onet.xml is stored in Features directory in 15

hive

Provisioning Providers

Site provisioning techniques

• Can get the full control of provisioning process using custom code

• Ensures that the changes applied by onet.xml are completed prior to the provisioning provider

webTemp_*.xml

1033Provisioning

Provider

Provisioning Providers cont..

Site provisioning techniques

• Custom onet.xml is not required• Can use a base site template to start with (e.g Team site)

Demo

Provisioning Providers cont..

Site provisioning techniques

• For complex scenarios we may use custom onet.xml files as well

Demo

Thank You !