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
I know that there is the extraction configuration and I can use this with Powershell like explained here.
However, in C#, there seems to be no option for this. If I want to create a template this looks like that:
using (var context = authManager.GetContext(groupSiteUrl))
{
ProvisioningTemplateCreationInformation ptci = new(context.Web)
{
};
var template = context.Web.GetProvisioningTemplate(ptci);
}
The ProvisioningTemplateCreationInformation does not contain many of the configuration options available like in the XML file.
For example: How could I add a setting that the items of a list should be included in the template?
I am talking about this point:
How could I set this point to true for a list in my code above?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I know that there is the extraction configuration and I can use this with Powershell like explained here.
However, in C#, there seems to be no option for this. If I want to create a template this looks like that:
The ProvisioningTemplateCreationInformation does not contain many of the configuration options available like in the XML file.
For example: How could I add a setting that the items of a list should be included in the template?
I am talking about this point:
How could I set this point to true for a list in my code above?
Beta Was this translation helpful? Give feedback.
All reactions