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
Trying to move sites to SPO. Our pages are split between Site Pages and Pages. Sites Pages convert just fine. The Pages, specifically Publishing Pages, is where we are running into issues.
The base ConvertTo-PnPPage doesnt work. I have tried to get the -PublishingPage flag to work. I ahve tried many variations to get this to work. This was the last.
ConvertTo-PnPPage -Identity $page.FieldValues["ID"] -PublishingPage -Overwrite -TargetWebUrl $newsite
Can someone provide an example of how this works? I cannot, for the life of me, get this to work and it would save SO MUCH TIME.
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
-
Trying to move sites to SPO. Our pages are split between Site Pages and Pages. Sites Pages convert just fine. The Pages, specifically Publishing Pages, is where we are running into issues.
The base ConvertTo-PnPPage doesnt work. I have tried to get the -PublishingPage flag to work. I ahve tried many variations to get this to work. This was the last.
ConvertTo-PnPPage -Identity $page.FieldValues["ID"] -PublishingPage -Overwrite -TargetWebUrl $newsite
Can someone provide an example of how this works? I cannot, for the life of me, get this to work and it would save SO MUCH TIME.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions