Download presentation
Presentation is loading. Please wait.
Published byDominic Harris Modified over 9 years ago
4
Site Provisioning Options Web Template Fundamentals Web Templates and App Webs Custom Solutions for Site Provisioning Wrap Up
11
Created using “WebTemplate” Feature element Feature can be Site and Farm scoped Site scoped: Web Template will only be available in a site collection where the feature is activated Farm scoped: Web Template will be available in the farm Web Template can be used to create site collections from Central Administration
12
Farm SolutionSandboxed Solution On-premises farms On-premises farms and cloud hosted farms like Office 365
13
Code behind in sandboxed solutions deprecated Declarative sandboxed solutions still full supported
14
Created in Visual Studio Using an “Empty Element”
15
Farm SolutionSandboxed Solution Farm or Site scoped feature ONET.xml file is stored in the feature folder with elements.xml file Site scoped feature ONET.xml file and elements.xml file are stored in the content database
16
“Save Site as Template” on site settings page Creates a sandboxed solution Stored in site collection solution gallery
17
“Based” on a site definition Do NOT inherit from their “base” site definition Can be changed or deleted after they have been used
19
Create URL for the siteProvision 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 orderCreate list instances from onet.xml
21
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
22
Building Web Templates
24
You cannot deploy web templates to create other sites using an App You can only deploy a web template to create the App Web
25
Browse http://teamsite.wingtip.com/sites/projectA/_layouts/15/start.aspx#/SitePages/Home.aspx Host Web http://app-fef8493a3feb20.wingtipapps.com/sites/ProjectA/BambooWeather/Pages/Home.aspx App Web Add App
26
Either create the App Web using site definition App#0 (default) Or create the App Web using a custom web template
30
Own app specific configuration Artefacts 1 CSOM / REST Custom WCF service 23
31
Own app specific configuration Artefacts 1 CSOM / REST 2
32
Custom Solutions for Site Provisioning
34
Web Templates a good approach in on- premises environments No Web Templates in Apps “Save Site as Template” not recommended Use Remote Site Provisioning in Office 365
36
Sponsored by
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.