SlideShare una empresa de Scribd logo
1 de 22
Provisioning sites using Web Templates in SharePoint 2010  Chakkaradeep (Chaks) Chandran SharePoint Consultant Microsoft
Session Objectives and Takeaways Site Provisioning Methods Web Templates – Getting Started Web Templates – Deep Dive Programmatically accessing web templates Tips and Tricks Demos
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
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
How to build one? Web Templates Existing Site Definition Elements.xml + onet.xml Features Elements.xml onet.xml
Farm or Site? Farm scoped feature  Available for the whole farm  Site scoped feature  Available for a particular site collection
demo Web Templates – Level 100 Getting Started
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
Activating Site Features (Sandboxed Solutions) When you activate a sandboxed solution: Site features get automatically activated
Web Template ID Web Templates Existing Site Definition Elements.xml + onet.xml Features Records the Publishing template ID workaround {featureGUID}#WebTemplateName
demo Web Templates – Level 200 Deep Dive
Programmatically Accessing Web Templates SharePoint identifies your web template with the following: {FeatureGuid}#WebTemplateName PowerShell – Site Scoped C# PowerShell – Farm Scoped
Tips and Tricks Start from a simple site template SharePointRootEMPLATEiteTemplates Farm Scoped – Creating a root site collection Site Scoped – Creating a sub site
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
Review: Session Objectives and Takeaways Site Provisioning Methods Web Templates – Getting Started Web Templates – Deep Dive Programmatically accessing web templates Tips and Tricks Demos
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
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
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
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)
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
Evaluate your sessions on CommNet and go in the draw to win instant prizes
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation.  Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Más contenido relacionado

Más de Chakkaradeep Chandran

Building custom solutions for SharePoint 2010 Online
Building custom solutions for SharePoint 2010 Online Building custom solutions for SharePoint 2010 Online
Building custom solutions for SharePoint 2010 Online Chakkaradeep Chandran
 
Business Connectivity Services (BCS) for Developers
Business Connectivity Services (BCS) for Developers Business Connectivity Services (BCS) for Developers
Business Connectivity Services (BCS) for Developers Chakkaradeep Chandran
 
Building Solutions With Business Connectivity Services
Building Solutions With Business Connectivity ServicesBuilding Solutions With Business Connectivity Services
Building Solutions With Business Connectivity ServicesChakkaradeep Chandran
 
Getting Started with SharePoint Development
Getting Started with SharePoint DevelopmentGetting Started with SharePoint Development
Getting Started with SharePoint DevelopmentChakkaradeep Chandran
 
Visual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share PointVisual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share PointChakkaradeep Chandran
 

Más de Chakkaradeep Chandran (7)

Building custom solutions for SharePoint 2010 Online
Building custom solutions for SharePoint 2010 Online Building custom solutions for SharePoint 2010 Online
Building custom solutions for SharePoint 2010 Online
 
Business Connectivity Services (BCS) for Developers
Business Connectivity Services (BCS) for Developers Business Connectivity Services (BCS) for Developers
Business Connectivity Services (BCS) for Developers
 
Building Solutions With Business Connectivity Services
Building Solutions With Business Connectivity ServicesBuilding Solutions With Business Connectivity Services
Building Solutions With Business Connectivity Services
 
Getting Started with SharePoint Development
Getting Started with SharePoint DevelopmentGetting Started with SharePoint Development
Getting Started with SharePoint Development
 
Visual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share PointVisual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share Point
 
Developing With Data Technologies
Developing With Data TechnologiesDeveloping With Data Technologies
Developing With Data Technologies
 
SharePoint And WCM
SharePoint And WCMSharePoint And WCM
SharePoint And WCM
 

Último

Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
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
  • 7. demo Web Templates – Level 100 Getting Started
  • 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
  • 11. demo Web Templates – Level 200 Deep Dive
  • 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
  • 21. Evaluate your sessions on CommNet and go in the draw to win instant prizes
  • 22. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Notas del editor

  1. 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
  2. OSP302 | SharePoint 2010 Composites: Do-It-Yourself Business Solutions16:30 - 17:30 | Ballroom 2