sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

What does PnP Modernizer actually do?

Open dem123-cthulu opened this issue 7 years ago • 4 comments

I thought that I can customize my company webpart mappings using pagelayoutmapping.xml and it will be the schema used for all transformations from classic to modern. I cannot, however, find a way to upload/apply customized mapping.xml to a page and the support claims it's impossible. So why would you publish all this info about transformation functions etc. if I can't use it?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

dem123-cthulu avatar Sep 24 '19 11:09 dem123-cthulu

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Sep 24 '19 11:09 msft-github-bot

This library transformation classic wiki page / web part pages / publishing pages to modern Site Page.

Below github demo shared a sample project to do this

https://github.com/SharePoint/PnP/tree/dev/Samples/Modernization.PageTransformation

Webpart Mapping

Page layout mapping

OS-Lee avatar Sep 25 '19 07:09 OS-Lee

Thanks. The key part I was missing was that you upload your customized webpartmappings.xml file to Azure Function.

Does MS support know about the Modernizer? "Did you want to change classic page to modern page? If so, then it is not what a PnP modernizer does." https://social.technet.microsoft.com/Forums/msonline/en-US/b4aa40bc-bcb1-47cf-8983-d57ed6e5ed3c/pnp-modernizer-mappingsxml?forum=onlineservicessharepoint

dem123-cthulu avatar Sep 25 '19 23:09 dem123-cthulu

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 23 '20 12:01 msft-github-bot