Class ProvisioningExtensions
File-based (CAML) provisioning extensions
Inheritance
System.Object
ProvisioningExtensions
Assembly: PnP.Framework.dll
Syntax
public static class ProvisioningExtensions : object
Methods
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
|
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)
|