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

[FEATURE] Add-PnPNavigationNode - Anchor/Fragment in Url support #4726

Open
fowl2 opened this issue Feb 6, 2025 · 0 comments
Open

[FEATURE] Add-PnPNavigationNode - Anchor/Fragment in Url support #4726

fowl2 opened this issue Feb 6, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@fowl2
Copy link
Contributor

fowl2 commented Feb 6, 2025

This cmdlet is documented as not supporting fragments (part after the #) in the URL.

However setting fragments works fine via the user interface. It uses the apprently undocumented _api/navigation/SaveMenuState.

The Add-PnPNavigationNode cmdlet currently uses the CSOM which seems to strip the fragment from the URL service side.

related: pnp/pnpcore#1257

@fowl2 fowl2 added the enhancement New feature or request label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant