You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
Remarks="Adds a file to a PnP Provisioning Template retrieved from the currently connected web. The url can be either full, server relative or Web relative url.",
[Parameter(Mandatory=true,Position=0,HelpMessage="Filename of the .PNP Open XML provisioning template to read from, optionally including full path.")]
44
-
publicstringPath;
33
+
/*
34
+
* Path, FileLevel, FileOverwrite and TemplateProviderExtensions fields are in the base class
35
+
* */
45
36
46
-
[Parameter(Mandatory=true,Position=1,ParameterSetName="LocalSourceFile",HelpMessage="The file to add to the in-memory template, optionally including full path.")]
37
+
[Parameter(Mandatory=true,Position=1,ParameterSetName=PSNAME_LOCAL_SOURCE,HelpMessage="The file to add to the in-memory template, optionally including full path.")]
47
38
publicstringSource;
48
39
49
-
[Parameter(Mandatory=true,Position=1,ParameterSetName="RemoteSourceFile",HelpMessage="The file to add to the in-memory template, specifying its url in the current connected Web.")]
40
+
[Parameter(Mandatory=true,Position=1,ParameterSetName=PSNAME_REMOTE_SOURCE,HelpMessage="The file to add to the in-memory template, specifying its url in the current connected Web.")]
50
41
publicstringSourceUrl;
51
42
52
-
[Parameter(Mandatory=true,Position=2,ParameterSetName="LocalSourceFile",HelpMessage="The target Folder for the file to add to the in-memory template.")]
43
+
[Parameter(Mandatory=true,Position=2,ParameterSetName=PSNAME_LOCAL_SOURCE,HelpMessage="The target Folder for the file to add to the in-memory template.")]
53
44
publicstringFolder;
54
45
55
-
[Parameter(Mandatory=false,Position=3,HelpMessage="The target Container for the file to add to the in-memory template, optional argument.")]
56
-
publicstringContainer;
57
-
58
-
[Parameter(Mandatory=false,Position=4,HelpMessage="The level of the files to add. Defaults to Published")]
0 commit comments