Deep dive to PnP provisioning engine schema

Sign in to queue

The Discussion

  • User profile image
    Gavin H

    Hi,

    I'm having issues provisioning files (value is null exception). Can you please expand on how to use the files element where files can be stored in there own subfolders?

  • User profile image
    Harun

    Hi,
    I use code like below..
    var ptci = new ProvisioningTemplateCreationInformation(web);
    ptci.BaseTemplate = web.GetBaseTemplate();
    ptci.FileConnector = new FileSystemConnector(fileLocation, "");
    ptci.PersistComposedLookFiles = true;
    ptci.IncludeAllTermGroups = true;
    ptci.IncludeSiteCollectionTermGroup = true;
    ProvisioningTemplate template = web.GetProvisioningTemplate(ptci);

    The template.Pages list is empty(count=0). But there are Pages, Site Pages library and aspx pages in my site.

    Please help to guide why the pages are not in template.

    Thanks.

  • User profile image
    Paolo Pialorsi

    Please move this thread in the Yammer network related to Office 365: aka.ms/OfficeDevPnPYammer - Thanks.

  • User profile image
    Piero Negri

    Hello,
    awesome work!
    I am struggling to understand a bit deeper how to customize the template via code. From othe videos I understood just how to add a contact list, I am thinking to the whole features (e.g. Site Columns, Content types) that I think would be really powerful to create at run time.
    Grazie Paolo!
    Piero

Add Your 2 Cents