Closed rroman81 closed 3 years ago
Moving this issue to the PnP Framework repo as that's where we now host the modernization code.
@rroman81 : web part pages do not belong in the publishing pages library...
Looking at your script I see you specify the -PublishingPage
parameter...indicating this is a publishing page. For transforming wiki/webpart pages you do not need to specify that. See https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-userinterface-site-pages-powershell for docs.
If that does not work then please move the web part page out of the publishing pages library and into a regular library and convert from there.
@rroman81 : did above help? If so please close this issue
Closing per no feedback. Feel free to open a new issue if the problem still persists
Thank you for reporting a bug. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you. Thanks!
Problem Area
[x] Page Transformation: Error during the use of page transformation from PnP PowerShell [ ] Page Transformation: Error during the use of page transformation from .Net [ ] Page Transformation: Page is not looking correct after transformation [ ] Modernization Scanner: something went wrong...
Expected or Desired Behavior
When migrating Cross-site (from SP2010 Pages Library to O365) WebPart pages that are in Publishing Pages library, my expectation is that they are migrated just like any other pages inheriting from Page content type.
Observed Behavior
Currently the page cannot be migrated as it's detected as PageType=WebPartPage, and produces an error
Page is not a publishing page, please use the wiki and web part page API's
. https://github.com/pnp/sp-dev-modernization/blob/8d464706f7e0125dcaceac31fa763f57240a30a0/Tools/SharePoint.Modernization/SharePointPnP.Modernization.Framework/Extensions/ListItemExtensions.cs#L26-L52Steps to Reproduce
Console output:
Thank you.