Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

[BUG] Sublinks not provisioned in Footer #2792

Open
b00johst opened this issue Oct 16, 2020 · 2 comments
Open

[BUG] Sublinks not provisioned in Footer #2792

b00johst opened this issue Oct 16, 2020 · 2 comments

Comments

@b00johst
Copy link

Environment

[ X ] Office 365 / SharePoint Online
[ ] SharePoint 2016
[ ] SharePoint 2013

Expected or Desired Behavior

If an extracted PnP provisioning template includes multiple level of navigation nodes (nested nodes and subnodes) in the footer all levels should be provisioned when the template is applied.

Observed Behavior

If I extract a pnp provisioning template from a site with two levels of navigations in the footer and later apply it to another site only the first level of navigation nodes is created on the target site. The subnodes are excluded.

Footer structure

  <pnp:Footer Enabled="true" Logo="{hosturl}/sites/Bildbank/Grafisk profil/Regular White-256x64.png" RemoveExistingNodes="false">
    <pnp:FooterLinks>
      <pnp:FooterLink DisplayName="Generic header 1" Url="http://linkless.header/">
        <pnp:FooterLink DisplayName="Tillgänglihetsredogörelse" Url="https://someurl.se/tillganglighetsredogorelse?l=sv" /> <!-- not provisioned -->
      </pnp:FooterLink>
      <pnp:FooterLink DisplayName="Generic header 2" Url="http://linkless.header/">
        <pnp:FooterLink DisplayName="SE-581 83 Linköping" Url="http://linkless.header/" /> <!-- not provisioned -->
        <pnp:FooterLink DisplayName="[email protected]" Url="mailto:[email protected]" /> <!-- not provisioned -->
        <pnp:FooterLink DisplayName="xxx-xx xx xx" Url="http://linkless.header/" /> <!-- not provisioned -->
      </pnp:FooterLink>
      <pnp:FooterLink DisplayName="Generic header 3" Url="http://linkless.header/">
        <pnp:FooterLink DisplayName="Registrera ett ärende" Url="http://someurl.se/" /> <!-- not provisioned -->
        <pnp:FooterLink DisplayName="xxx-xx xx xx" Url="http://linkless.header/" /> <!-- not provisioned -->
      </pnp:FooterLink>
    </pnp:FooterLinks>
  </pnp:Footer>

Steps to Reproduce

1.) Create a communication site
2.) Enable extended footer and create a two level navigation structure.
3.) Extract a provisioning template using the SiteFooter handler.
4.) Create a blank target communication site.
5.) Enable extended footer on the new target communcation site.
6.) Apply the template to the new target.

@ghost
Copy link

ghost commented Oct 16, 2020

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

@IshitaSingh01-lab
Copy link

IshitaSingh01-lab commented Nov 17, 2020

Hi, I am facing the same problem, does anyone know if its resolved.
And I am trying to Apply the provisioning script with PnP and not the code.

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

No branches or pull requests

2 participants