Search Results for

    Show / Hide Table of Contents

    Class ProvisioningExtensions

    File-based (CAML) provisioning extensions

    Inheritance
    System.Object
    ProvisioningExtensions
    Namespace: Microsoft.SharePoint.Client
    Assembly: PnP.Framework.dll
    Syntax
    public static class ProvisioningExtensions : object

    Methods

    ProvisionElementFile(Web, String)

    Provisions the items defined by the specified Elements (CAML) file; currently only supports modules (files).

    Declaration
    public static void ProvisionElementFile(this Web web, string path)
    Parameters
    Web web

    Web to provision the elements to

    System.String path

    Path to the XML file containing the Elements CAML defintion

    ProvisionElementXml(Web, String, XElement)

    Provisions the items defined by the specified Elements (CAML) XML; currently only supports modules (files).

    Declaration
    public static void ProvisionElementXml(this Web web, string baseFolder, XElement elementsXml)
    Parameters
    Web web

    Web to provision the elements to

    System.String baseFolder

    Base local folder to find any referenced items, e.g. files

    XElement elementsXml

    Elements (CAML) XML element that defines the items to provision; currently only supports modules (files)

    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer