Provisioning Sites in SharePoint 2010 Using Web Templates

12,467 views
12,238 views

Published on

Published in: Technology, Business
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
12,467
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
78
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide
  • 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
  • OSP302 | SharePoint 2010 Composites: Do-It-Yourself Business Solutions16:30 - 17:30 | Ballroom 2
  • Provisioning Sites in SharePoint 2010 Using Web Templates

    1. 1. Provisioning sites using Web Templates in SharePoint 2010 <br />Chakkaradeep (Chaks) Chandran<br />SharePoint Consultant<br />Microsoft<br />
    2. 2. Session Objectives and Takeaways<br />Site Provisioning Methods<br />Web Templates – Getting Started<br />Web Templates – Deep Dive<br />Programmatically accessing web templates<br />Tips and Tricks<br />Demos<br />
    3. 3. Site Provisioning Methods<br />Site Definitions<br />webtemp*.xml<br />onet.xml<br />Feature Stapling<br />Site Templates<br />(Save As)<br />Custom Code<br />Custom Site Definitions<br />Provisioning Providers<br />Web Templates<br />Existing Site Definition<br />Elements.xml + onet.xml<br />Features<br />
    4. 4. Why Web Templates?<br />Developers want easy way to provision sites<br />Based on standard SharePoint site definitions<br />Something that is completely Feature Based<br />No access to file server (Sandboxed!!!)<br />Cloud Power <br />
    5. 5. How to build one?<br />Web Templates<br />Existing Site Definition<br />Elements.xml + onet.xml<br />Features<br />Elements.xml<br />onet.xml<br />
    6. 6. Farm or Site?<br />Farm scoped feature <br />Available for the whole farm <br />Site scoped feature <br />Available for a particular site collection <br />
    7. 7. demo<br />Web Templates – Level 100<br />Getting Started<br />
    8. 8. Activating Site Features (onet.xml)<br />The SiteFeatures element contains references to site collection features to include in the site template<br />Featureslisted in SiteFeatures elementare activated only during root site creation<br />Featureslisted in SiteFeatures elementare not activated during sub-site creation<br />workaround<br />
    9. 9. Activating Site Features (Sandboxed Solutions)<br />When you activate a sandboxed solution:<br />Site features get automatically activated<br />
    10. 10. Web Template ID<br />Web Templates<br />Existing Site Definition<br />Elements.xml + onet.xml<br />Features<br />Records the Publishing template ID<br />workaround<br />{featureGUID}#WebTemplateName<br />
    11. 11. demo<br />Web Templates – Level 200<br />Deep Dive<br />
    12. 12. Programmatically Accessing Web Templates<br />SharePoint identifies your web template with the following:<br />{FeatureGuid}#WebTemplateName<br />PowerShell – Site Scoped<br />C#<br />PowerShell – Farm Scoped<br />
    13. 13. Tips and Tricks<br />Start from a simple site template<br />SharePointRootTEMPLATESiteTemplates<br />Farm Scoped – Creating a root site collection<br />Site Scoped – Creating a sub site<br />
    14. 14. Tips and Tricks<br />In Web Templates, you can only use Configuration ID 0<br />The Configuration element in the onet.xml file specifies the various lists and modules<br />Avoid Modules, Use Features<br />Feature Stapling is not available with Web Templates<br />Web Templates do not support Variations<br />
    15. 15. Review: Session Objectives and Takeaways<br />Site Provisioning Methods<br />Web Templates – Getting Started<br />Web Templates – Deep Dive<br />Programmatically accessing web templates<br />Tips and Tricks<br />Demos<br />
    16. 16. Related Content - Thursday<br />Developing Windows Phone 7 Applications for SharePoint<br />9:00 New Zealand 4<br />Real world service application federation with SharePoint 2010<br />10:40 Ballroom 2<br />Provisioning sites using Web Templates in SharePoint 2010<br />11:55 Ballroom 2<br />PowerShell and SharePoint: it’s not just for the SharePoint IT Pro<br />1:55 Ballroom 2<br />
    17. 17. Related Content - Thursday<br />The SharePoint 2010 Search Service Decoupled<br />3:10 New Zealand 3<br />Creating a Federated Extranet with ADFSv2 and SharePoint 2010<br />3:10 New Zealand 4<br />SharePoint 2010 Composites: Do-It-Yourself Business Solutions<br />4:30 Ballroom 2<br />Visualizing data and bringing business process to life with Visio Services<br />5:45 Ballroom 2<br />
    18. 18. Related Content - Friday<br />Using Visual Studio 2010 to Create SharePoint Load Tests<br />10:40 Ballroom 2<br />SharePoint 2010 and Project Server 2010 Together<br />11:55 Ballroom 2<br />What every developer should know about Office<br />1:55 Ballroom 2<br />SharePoint Throttling Explained<br />3:10 Ballroom 2<br />
    19. 19. Track Resources<br />SharePoint and FAST Search VM<br />FAST Search Capacity Planning<br />SharePoint 2010 Capacity Planning<br />Search Topology<br />Upgrade and migration resource center<br />Resource Centers<br />Current SharePoint Public Websites (wssdemo)<br />
    20. 20. Resources<br />Learning<br />Microsoft Certification & Training Resources<br />Connect. Share. Discuss.<br />http://newzealand.msteched.com<br />www.microsoft.com/learning<br />Resources for IT Professionals<br />Resources for Developers<br />http://microsoft.com/msdn<br />http://microsoft.com/technet<br />
    21. 21. Evaluate your sessions<br />on CommNet and go in<br />the draw to win instant<br />prizes<br />
    22. 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.<br />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.<br />

    ×