http://www.diwug.nl/e-magazines Site Provisioning Options Web Template Fundamentals Web Templates and App Webs Custom Solutions for Site Provisioning Wrap Up Created using “WebTemplate” Feature element Feature can be Site and Farm scoped Site scoped: Farm scoped: Web Template.
Download ReportTranscript http://www.diwug.nl/e-magazines Site Provisioning Options Web Template Fundamentals Web Templates and App Webs Custom Solutions for Site Provisioning Wrap Up Created using “WebTemplate” Feature element Feature can be Site and Farm scoped Site scoped: Farm scoped: Web Template.
http://www.diwug.nl/e-magazines Site Provisioning Options Web Template Fundamentals Web Templates and App Webs Custom Solutions for Site Provisioning Wrap Up Created using “WebTemplate” Feature element Feature can be Site and Farm scoped Site scoped: Farm scoped: Web Template will only be available Web Template will be available in the farm in a site collection where the feature Web Template can be used to create site is activated collections from Central Administration Farm Solution Sandboxed Solution On-premises farms On-premises farms and cloud hosted farms like Office 365 Code behind in sandboxed solutions deprecated Declarative sandboxed solutions still full supported Created in Visual Studio Using an “Empty Element” Farm Solution Sandboxed Solution Farm or Site scoped feature Site scoped feature ONET.xml file is stored in the feature folder with elements.xml file ONET.xml file and elements.xml file are stored in the content database “Save Site as Template” on site settings page Creates a sandboxed solution Stored in site collection solution gallery “Based” on a site definition Do NOT inherit from their “base” site definition Can be changed or deleted after they have been used Create URL for the site Provision GLOBAL onet.xml Site collection: Activate site collection scoped features in defined order Sub site: Verify that site collection scoped features are activated Activate site scoped features from onet.xml in defined order Create list instances from onet.xml Create a hidden web scoped feature Add it to the WebFeatures section of the onet.xml file Store the Web Template name, feature ID and version in site property bag Building Web Templates You cannot deploy web templates to create other sites using an App You can only deploy a web template to create the App Web Browse Add App Host Web http://teamsite.wingtip.com/sites/projectA/_layouts/15/start.aspx#/SitePages/Home.aspx App Web http://app-fef8493a3feb20.wingtipapps.com/sites/ProjectA/BambooWeather/Pages/Home.aspx Either create the App Web using site definition App#0 (default) Or create the App Web using a custom web template SharePoint Farm 1 2 Custom WCF service <xml> Provider Hosted Apps 3 CSOM / REST Own app specific configuration Artefacts SharePoint Farm 1 <xml> Provider Hosted Apps 2 CSOM / REST Own app specific configuration Artefacts Custom Solutions for Site Provisioning Web Templates a good approach in onpremises environments No Web Templates in Apps “Save Site as Template” not recommended Use Remote Site Provisioning in Office 365 Sponsored by