SOLVED

Problems editing hub site navigation

Copper Contributor

Hi 

 

I hope you can help me out.

I have some hub sites with associated sites (all are communication sites).

I can edit the pages and navigation on all sites, but when I make changes to the top bar navigation (hub site), the changes won't go through. I am primary admin on all sites and it worked 4 days ago. 

 

Do any of you have the same problem?

 

Kind regards Morten

12 Replies

Just tested & working as expected on our tenant.

 

If it persists you should submit a ticket as suggests a more localised issue.

Exact same issue here! I am unable to add any new links to the top navigation on the hub site! No matter what I do it won't save the new changes?

 

Thanks,

Mark

Good to see that I'm not the only one. I thought I was going crazy 🙂

I found a workaround now:

 

A fix for the issue of inability to edit the hub nav is rolling out now. As a workaround you can edit the hub nav from either the site content's page or any document library. 

 

(taken from a thread I found earlier today: https://techcommunity.microsoft.com/t5/SharePoint/HUB-Site-Top-navigation-suddenly-disappeared/m-p/1...)

Great news and thanks 😉

Yes! Having the same issue! I just spoke with MS Support and they didn't see anything on it- glad I'm not the only one!


Tagging so others can find this:

SharePoint Modern Framework Hub Site Navigation Can't Edit 

Can't make changes to Hub Navigation

best response confirmed by Morten Stender Damkjær (Copper Contributor)
Solution

This works for me. On the hubsite navigate to a system page and add/edit the navigation there. 

Hi all!

This just happen to me at a customers site and there is no way to make changes.

I tried from the start page, from a library page with no luck.

From Site settings the Hub navigation doesn't show up.

 

Any ideas?

 

/Nicklas

@Kevin NguyenUnfortunately this doesn't work for me. I tried both on sitecontents and document-library but the navigation still won't save..

In my case the problem was solved by adding a new link from powershell.
Add-PnPNavigationNode -Title $Title -Url $URL -Location "TopNavigationBar"

Also in the navigation page settings /_layouts/15/AreaNavigationSettings.aspx disable/enable the cache
Initially after running the script the top navigation disappeared but after refreshing a few times the navigation appeared again and this time correctly. That is, it lets me edit, add, and remove links normally.

This is happening on our site as well. However only for some users not all.  This is an old issue, so I hope some of the suggested work arounds will work for us. As it does not seem to be fixed form Microsoft. 🙂

@Kevin Nguyen what does 'navigate to a system page' mean?  I'm getting so frustrated not being able to add new sites to the hub nav.

 

           John

@Morten Stender Damkjær 

Ok so it's 2024 and i encountered this issue.

Didn't matter which section I edited the Top Navigation from, it would never save the changes even after accepting them.

I also tried powershell which stated it had done the change, and still it would show the old link.

I moved the child items out, made a new parent navigation link and then moved them back in, and it showed for about 10 seconds as the new link, then reverted back to the old one once again.  However this edit was done all in the one save.  Keep that in mind.

I was thinking , "is there some policy doing this?"

Then i tried somethign else. And this worked!

I edited the Top navigation menu and added another heading at the same level without deleting the old one. and saved it, so now i had an extra dropdown menu but with no children, however the link was correct and stayed correct.

I then moved the children items into it and saved it, and it was still correct.

Then i deleted the old menu header and saved it.  And now everythign is showing correctly.

So i believe perhaps that stuff is all in a database somewhere in MS end.  And if something doesnt want to change, by making a new heading on the same level, then saving it first, it will create a new entry for a new menu heading/link.  once that is created then you can move your stuff into it and remove the old one.  It's like forcing a new ID for a record in a database somewhere on MS end.

So if you are editing it and try to remove the old one and replace it and then Save all in one change, it will just see the same link and name and assume nothing has changed.  you have to force it to save an entirely new link as part of a new menu.  

You could do this with child links too make a new menu create them fresh in there, save it, then go edit and delete the old link.  move everything over to the new menu, and delete the old menu.  Things like that so it has to create a brand new record in whatever DB they use.

Give it a crack.

1 best response

Accepted Solutions
best response confirmed by Morten Stender Damkjær (Copper Contributor)
Solution

This works for me. On the hubsite navigate to a system page and add/edit the navigation there. 

View solution in original post