-
Notifications
You must be signed in to change notification settings - Fork 399
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Reporting an Issue or Missing Feature
Issue with Add-PnPNavigationNode -OpenInNewTab
Expected behavior
Link opens in a new tab and you can see the setting in the UI
Actual behavior & Steps to reproduce behavior
If I set the property for a RootNode - it works and you can see the hook in the UI.
If I set the property for a ChildNode with the Id or with the ParentNode as parent parameter, I get a warning and it is not visible in the UI. However, the link opens in a new tab.


If I look at the MenuState, I can see differences in the values / attributes for OpenInNewTab:
RootNode:
<d:Key>2028</d:Key>
<d:Nodes m:type="Collection(SP.MenuNode)"/>
<d:NodeType m:type="Edm.Int32">0</d:NodeType>
<d:OpenInNewWindow m:type="Edm.Boolean">true</d:OpenInNewWindow>
<d:SimpleUrl>https://github.com/pnp/powershell</d:SimpleUrl>
<d:Title>RootNode</d:Title>SubNode:
<d:Key>2031</d:Key>
<d:Nodes m:type="Collection(SP.MenuNode)"/>
<d:NodeType m:type="Edm.Int32">0</d:NodeType>
<d:OpenInNewWindow m:null="true"/>
<d:SimpleUrl>https://github.com/pnp/powershell</d:SimpleUrl>
<d:Title>SubNode_ById</d:Title>What is the version of the Cmdlet module you are running?
2.2.0
Which operating system/environment are you running PnP PowerShell on?
Windows
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

