Forum Discussion
4lexius4 world
Mar 02, 2020Brass Contributor
PnP Page Provisioning Images are not imported in the new provisioned site.
Hi there, I'm trying to provision a custom page from one site to another using: Apply-PnPProvisioningTemplate -Path c:\temp\myPage.pnp all custom webpart are correctly added but the images (like ...
- Mar 31, 2020
Problem solved! thanks to the great Paolo Pialorsi , who provided us with the solution.
Sharing below the solution in case it can be useful in similar cases:1) First Export the client side page using the -PersistBrandingFiles attribute.
Export-PnPClientSidePage -Identity "TestPage.aspx" -Out .\single-page.xml -PersistBrandingFiles
2) Convert the xml and related content in an unique file pnp.
Convert-PnPFolderToProvisioningTemplate -Folder .\ -Out c:\temp\single-page.pnp3) Then connect to target site and apply the page provisioning.
Thanks Carlos for your time, and thank Paolo for the solution!
Cheers,
Alessio
4lexius4 world
Mar 06, 2020Brass Contributor
No news/reply so far. Could someone help in case to suggest the appropriate place to submit case like that? GitHub?