Created
May 6, 2020 06:44
-
-
Save siata13/7c1107a53ea5c8fc76c0e8297be23e31 to your computer and use it in GitHub Desktop.
Register templates source folder for custom page templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$templatesFolder = Resolve-PnPFolder -SiteRelativePath "SitePages/Templates" | |
Set-PnPPropertyBagValue -Folder "SitePages" -Key "vti_TemplatesFolderGuid" -Value $templatesFolder.UniqueId |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment