Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoke-PnPSiteTemplate: Double Header when importing pages with vertical section #1117

Open
till-llit opened this issue Mar 3, 2025 · 0 comments

Comments

@till-llit
Copy link

till-llit commented Mar 3, 2025

this is a follow up to #1058

even with the fix in #1066 and #1102 from @czullu we see issues in specific page layouts - especially when using a vertical section.

repro:

create a page with a vertical section and a page title:
Image

use the latest pnp Powershell nightly: 2.99.154
execute export-pnppage BANNER-TITLE.aspx -out BANNER-TITLE.aspx.xml to create an xml export

execute Invoke-PnPSiteTemplate -path .\BANNER-TITLE.aspx.xml to import the page

the page is now created with 2 banner webparts, one is a default title without the layout we had and the other one is a banner webpart in Section 1 with our custom layout:

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant