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
I have provisioned a page with <pnp:Header Type="Custom" LayoutType="NoImage" and when I'm trying to export it it's coming as <pnp:Header Type="Default" LayoutType="NoImage"
Steps to reproduce
I have checked the code in PageHeader.cs and there is a condition in line 259 when there is imageServerRelativeUrl to apply custom, but you can have a custom layout with no image.
if (!string.IsNullOrEmpty(imageServerRelativeUrl))
{
Type = PageHeaderType.Custom;
........
Expected behavior
I'm expecting to export the page as it was provisioned
Category
Describe the bug
I have provisioned a page with <pnp:Header Type="Custom" LayoutType="NoImage" and when I'm trying to export it it's coming as <pnp:Header Type="Default" LayoutType="NoImage"
Steps to reproduce
I have checked the code in PageHeader.cs and there is a condition in line 259 when there is imageServerRelativeUrl to apply custom, but you can have a custom layout with no image.
if (!string.IsNullOrEmpty(imageServerRelativeUrl))
{
Type = PageHeaderType.Custom;
........
Expected behavior
I'm expecting to export the page as it was provisioned
Environment details (development & target environment)
The text was updated successfully, but these errors were encountered: