Skip to content

Add PreviousNode parameter to Add-PnPNavigationNode#2940

Merged
KoenZomers merged 4 commits intopnp:devfrom
reusto:feature/navigationpositioning
Apr 11, 2023
Merged

Add PreviousNode parameter to Add-PnPNavigationNode#2940
KoenZomers merged 4 commits intopnp:devfrom
reusto:feature/navigationpositioning

Conversation

@reusto
Copy link
Contributor

@reusto reusto commented Mar 26, 2023

Type

  • Bug Fix
  • New Feature
  • Sample

What is in this Pull Request ?

Added parameter PreviousNode to specify the navigation node after which the new navigation node will appear in the navigation node collection, which allows to add it to the correct position in the navigation instead of adding and then reordering afterwards.

Changed the type of the Parent parameter to NavigationPipeBind to allow a object of type NavigationNode as input in addition to just the ID.

Fixed the issue that target audiences weren't set when creating a node as a child of a parent node.

@KoenZomers
Copy link
Collaborator

Thanks @reusto!

@KoenZomers KoenZomers merged commit 0175df5 into pnp:dev Apr 11, 2023
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

Successfully merging this pull request may close these issues.

2 participants