slide1 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
SharePoint 2010 Web Templates What are They and How to Conquer Them PowerPoint Presentation
Download Presentation
SharePoint 2010 Web Templates What are They and How to Conquer Them

Loading in 2 Seconds...

play fullscreen
1 / 15
meriel

SharePoint 2010 Web Templates What are They and How to Conquer Them - PowerPoint PPT Presentation

128 Views
Download Presentation
SharePoint 2010 Web Templates What are They and How to Conquer Them
An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. SharePoint 2010 Web TemplatesWhat are They and How to Conquer Them Ryan McIntyre, MCITP, MCPD Director, Portals & Collaboration Practice

  2. Templates are Good for…Nothing? • Usability • Site Creators • Window Shoppers • Promote Functionality • Reporting • Administration • Uhh…Sounds like Governance!

  3. Template Family

  4. Site Definitions • Farm Solution • Requires file system (no O365) • Can’t change ONET after sites provisioned • Feature Stapling • Unique WebTemplateId

  5. Site Templates • Publishing sites not supported • SC scoped (unless VS modified) • Environment Locked

  6. Demo Site Templates

  7. Web Templates • Publishing supported • Farm or SC scope • Feature based (no files on file system) • Can’t use variations • No Feature Stapling, but can define in ONET • No unique WebTemplateId*

  8. Import Site Template • Import what you need • Change project Deployment Configuration (No Activation) • Change Feature Default Activation behavior (False) • Change Deployment Conflict Resolution (None) • Visibility • SiteFeatures

  9. Demo Site Template Import

  10. Clean Web Template • Blank SharePoint 2010 Project • Two Features: Deployment (WebTemplate) & Default (site objects) • Object Folders (Lists, Modules, etc.) • PropertyBag module: WebTemplate Id • WebTemplate Element • Elements.xml • ONET.xml • Copy from 14\Templates\SiteTemplates\* • Change deployment type to ElementFile • Remove DocumentTemplates • Remove all configurations EXCEPT -1 & 0 • Remove Modules • Remove ListInstances • Associate Default Feature • Pre/Post Deployment Actions

  11. Demo Web Template Creation

  12. Add Content • Publishing Pages / Images • Include file in Module and update properties in elements.xml • Wiki Pages • Use elements.xml to add file by referring to existing page template, updating properties as needed (WikiField) • List Items • Elements file for ListInstance • Feature Receiver • Sub Sites • Feature Receiver

  13. Resources • VesaJuvonen > SharePoint 2010 and Web Templates: http://blogs.msdn.com/b/vesku/archive/2010/10/14/sharepoint-2010-and-web-templates.aspx • Mirjam van Olst > Site Definitions vs. Web Templates: http://sharepointchick.com/archive/0001/01/01/site-definitions-vs.-webtemplates.aspx • MSDN > WebTemplates and Site Definitions: http://msdn.microsoft.com/en-us/library/ms434313.aspx

  14. Ryan McIntyre ryan.mcintyre@neudesic.com http://blog.randomdust.com @ryanmcintyre 303-520-6337