Axa Assurance Maroc - Insurer Innovation Award 2024
Provisioning Sites in SharePoint 2010 Using Web Templates
1. Provisioning sites using Web Templates in SharePoint 2010 Chakkaradeep (Chaks) Chandran SharePoint Consultant Microsoft
2. Session Objectives and Takeaways Site Provisioning Methods Web Templates – Getting Started Web Templates – Deep Dive Programmatically accessing web templates Tips and Tricks Demos
3. Site Provisioning Methods Site Definitions webtemp*.xml onet.xml Feature Stapling Site Templates (Save As) Custom Code Custom Site Definitions Provisioning Providers Web Templates Existing Site Definition Elements.xml + onet.xml Features
4. Why Web Templates? Developers want easy way to provision sites Based on standard SharePoint site definitions Something that is completely Feature Based No access to file server (Sandboxed!!!) Cloud Power
5. How to build one? Web Templates Existing Site Definition Elements.xml + onet.xml Features Elements.xml onet.xml
6. Farm or Site? Farm scoped feature Available for the whole farm Site scoped feature Available for a particular site collection
8. Activating Site Features (onet.xml) The SiteFeatures element contains references to site collection features to include in the site template Featureslisted in SiteFeatures elementare activated only during root site creation Featureslisted in SiteFeatures elementare not activated during sub-site creation workaround
9. Activating Site Features (Sandboxed Solutions) When you activate a sandboxed solution: Site features get automatically activated
10. Web Template ID Web Templates Existing Site Definition Elements.xml + onet.xml Features Records the Publishing template ID workaround {featureGUID}#WebTemplateName
12. Programmatically Accessing Web Templates SharePoint identifies your web template with the following: {FeatureGuid}#WebTemplateName PowerShell – Site Scoped C# PowerShell – Farm Scoped
13. Tips and Tricks Start from a simple site template SharePointRootEMPLATEiteTemplates Farm Scoped – Creating a root site collection Site Scoped – Creating a sub site
14. Tips and Tricks In Web Templates, you can only use Configuration ID 0 The Configuration element in the onet.xml file specifies the various lists and modules Avoid Modules, Use Features Feature Stapling is not available with Web Templates Web Templates do not support Variations
15. Review: Session Objectives and Takeaways Site Provisioning Methods Web Templates – Getting Started Web Templates – Deep Dive Programmatically accessing web templates Tips and Tricks Demos
16. Related Content - Thursday Developing Windows Phone 7 Applications for SharePoint 9:00 New Zealand 4 Real world service application federation with SharePoint 2010 10:40 Ballroom 2 Provisioning sites using Web Templates in SharePoint 2010 11:55 Ballroom 2 PowerShell and SharePoint: it’s not just for the SharePoint IT Pro 1:55 Ballroom 2
17. Related Content - Thursday The SharePoint 2010 Search Service Decoupled 3:10 New Zealand 3 Creating a Federated Extranet with ADFSv2 and SharePoint 2010 3:10 New Zealand 4 SharePoint 2010 Composites: Do-It-Yourself Business Solutions 4:30 Ballroom 2 Visualizing data and bringing business process to life with Visio Services 5:45 Ballroom 2
18. Related Content - Friday Using Visual Studio 2010 to Create SharePoint Load Tests 10:40 Ballroom 2 SharePoint 2010 and Project Server 2010 Together 11:55 Ballroom 2 What every developer should know about Office 1:55 Ballroom 2 SharePoint Throttling Explained 3:10 Ballroom 2
19. Track Resources SharePoint and FAST Search VM FAST Search Capacity Planning SharePoint 2010 Capacity Planning Search Topology Upgrade and migration resource center Resource Centers Current SharePoint Public Websites (wssdemo)
20. Resources Learning Microsoft Certification & Training Resources Connect. Share. Discuss. http://newzealand.msteched.com www.microsoft.com/learning Resources for IT Professionals Resources for Developers http://microsoft.com/msdn http://microsoft.com/technet
This slide is recommended as a final slide to recap the objectives of the session to remind attendees what you said would be covered and to highlight that you did indeed cover those points. The objectives listed on this slide should match the objectives covered on the required Objective slide at the beginning of your presentation. If you have questions, please contact your Track PM listed below:Track Name, Acronym and Track PMArchitecture (ARC) – Miha Kralj, Terra SuddarthBusiness Intelligence (BIN) – Peter SpragueBusiness Solutions (MSDY) - Pattie Grimm, Scarlet LeungDatabase (DB) –Dandy Weyn, Kevin Ashby, Maxine CooDevelopment Tools & Technologies (DEV) – Bijan JavidiExchange and Lync (EXL) – Lauren Horgan, Navin Chand, Becki CulbertIT Service Management (ITSM) - Bebe AcciavattiMiddleware and Integration (MWI) – Tony Meleg, Joe KlugManagement, Operations and Deployment (MOD) – Aurora Santiago, Juliet HossmanOffice 365 (OFC) - Mike Naughton, Lori Skinner-StudleyOffice and SharePoint (OSP) – Olaf Hubel, Hila Grinberger, Andy O’Donald, Monica Watson, Lita SprattOptimization (OPT) – Yoav Land, Angela EarleyReadyTech (RT) - Joe Culp, KariLynne GratzerSecurity, Identity & Privacy (SIP) – Christopher Pelletier, Aurora Santiago, Juliet HossmanVirtualization (VIR) – Aurora Santiago, Juliet HossmanWindows Azure platform (AZR) - Vikram Rana, Terri SladeWindows Client (CLI) – Jean Taylor, Angie Nelson, Lisa PuchosicWindows Phone (WP) – Tim McAfee, Rob TiffanyWindows Server (SVR) – Aurora Santiago, Juliet HossmanCross Track CoverageApplication Platform – APS/DB/AZR/ARC Solution Accelerators – Michelle Arney, Michelle Walls Compete – Mike Brevard Trustworthy Computing – Christopher Pelletier Next Web – Olga Londer User Experience – Alison ClarkPrivate Cloud – Aurora Santiago Windows Embedded – Olivier Bloch