New answers tagged provisioning
Courtesy of Microsoft tech support, this article - Programmatically Provisioning Wiki Pages with Content and Web Parts in SharePoint 2010 - gets me much closer to what I wanted in the first place: a way to provision a WikiPage with code and some clear markup. I'm going to give this a spin in the next few days. Since the above seat-of-the-pants method ...
To provision a default page you have to use a Module to deploy this page. Create a new Module for example with a name ModDefaultHomePage Add a default.aspx page to the module. You can add the default of the publishing template which can be found in hte 15\TEMPLATE\SiteTemplates\PUBLISHING\ folder <%@ Page ...
Here's the most coherent approach I've found so far. Basically, it involves building the page with Sharepoint itself, saving its containing site as a template, importing the template into Visual Studio, and then picking apart the elements files for the magic nuggets: Provisioning Wiki Pages in SharePoint 2010 Web Template It works, provided the assembly ...
Vesa "vesku" Juvonen has some nice articles on Site provisioning techniques and remote provisioning in SharePoint 2013 and SharePoint 2010 and web templates. These articles describes how you can do stuff and when.
Top 50 recent answers are included