SlideShare une entreprise Scribd logo
1  sur  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.

Contenu connexe

Plus 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
 

Dernier

Dernier (20)

Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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...
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 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.

Notes de l'éditeur

  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