Add SPO Top Navigation Bar export script with translation support#961
Open
fabianhutzli wants to merge 1 commit into
Open
Add SPO Top Navigation Bar export script with translation support#961fabianhutzli wants to merge 1 commit into
fabianhutzli wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This sample adds a PnP PowerShell script that exports the Top Navigation Bar structure of a SharePoint Online site to a JSON file, including all multilingual translations per node.
Background: During a site configuration change, all navigation translations were lost and there was no backup — the business team had to retranslate everything manually. This script was created to prevent that from happening again by providing an easy way to export and back up the full navigation structure including all translations before making changes.
Features
1031= German,1036= French,1040= Italian)Id,ParentId,Title,Url,IsExternalTitle_*) and a full translation map (TitleResource)TopNavigation.jsonwith full depth preservedScript type
PnP PowerShell
Author
Fabian Hutzli