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'd like to be able to export page templates only.
My first idea would be, since the ObjectClientSidePageContents handles those templates fine already, to extend the ProvisioningTemplateCreationInformation:
Currently, ProvisioningTemplateCreationInformation contains the IncludeAllClientSidePages-Property which determines whether all pages are exported, or only the "home page".
A new property ProvisioningTemplateCreationInformation.IncludeClientSidePageTemplates could be used to determine whether templates should be exported.
Alternatively, something akin to the existing handlers could be used: An enum to distinguish between different page "types". This option would have the benefit of being open for additional changes, without cluttering the ProvisioningTemplateCreationInformation too much.
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
-
Coming from pnp/powershell#880
I'd like to be able to export page templates only.
My first idea would be, since the
ObjectClientSidePageContents
handles those templates fine already, to extend theProvisioningTemplateCreationInformation
:Currently,
ProvisioningTemplateCreationInformation
contains theIncludeAllClientSidePages
-Property which determines whether all pages are exported, or only the "home page".A new property
ProvisioningTemplateCreationInformation.IncludeClientSidePageTemplates
could be used to determine whether templates should be exported.Alternatively, something akin to the existing handlers could be used: An enum to distinguish between different page "types". This option would have the benefit of being open for additional changes, without cluttering the
ProvisioningTemplateCreationInformation
too much.Beta Was this translation helpful? Give feedback.
All reactions