PnP PowerShell not creating versions after adding a webpart to a page #2379
Unanswered
sandeepvootoori
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am running the below command with version 1.10.0 and its not creating a new version. Its updating the previous version's last updated time but its not actually creating a minor/major version.
$page = Get-PnPPage "PageName"
Add-PnPPageTextPart -Page $page -Text "New Text Part"
$page.Save()
$page.Publish("New version")
Beta Was this translation helpful? Give feedback.
All reactions