SlideShare ist ein Scribd-Unternehmen logo
1 von 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.

Weitere ähnliche Inhalte

Mehr von 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
 

Kürzlich hochgeladen

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Kürzlich hochgeladen (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

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.

Hinweis der Redaktion

  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