HUB Site navigation - links disappearing

%3CLINGO-SUB%20id%3D%22lingo-sub-389267%22%20slang%3D%22en-US%22%3EHUB%20Site%20navigation%20-%20links%20disappearing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-389267%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20noticed%20my%20HUB%20site%20menu%20is%20trying%20to%20be%20a%20bit%20too%20smart%20if%20I%20delete%20a%20page%20I%20have%20linked%20to.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESay%20I%20have%20a%20top%20node%20called%20%22Country%22%20that%20links%20to%20a%20page%20(in%20the%20same%20site)%20called%20country.aspx.%3C%2FP%3E%3CP%3EThis%20node%20has%20several%20children%2C%20like%20%22USA%22%2C%20%22Norway%22%2C%20%22Australia%22%2C%20%22Germany%22%20etc.%20linking%20to%20their%20respective%20pages.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20297px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F100224i01E6DF757CF5BA19%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%222019-03-27_10h59_05.png%22%20title%3D%222019-03-27_10h59_05.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIf%20I%20delete%20the%20page%20%22country.aspx%22%20the%20menu%20item%20Country%20disappears%20from%20the%20menu%20together%20with%20all%20the%20child%20items.%20Does%20not%20happen%20until%20you%20click%20Edit%20on%20the%20HUB%20site%20navigation%2C%20but%20then%20they%20are%20gone.%20I%20could%20sort%20of%20understand%20that%20the%20Country%20item%20disappeared%20but%20was%20it%20really%20necessary%20to%20remove%20all%20the%20child%20nodes%20that%20where%20working%20just%20fine%20%3A)%3C%2Fimg%3E%26nbsp%3B%20%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EI%20know%20there%20is%20some%20clever%20functionality%20here%20that%20checks%20if%20what%20the%20menu%20is%20linking%20to%20actually%20exists.%20At%20least%20this%20is%20true%20within%20the%20same%20site%20collection.%20Because%20if%20I%20rename%20a%20file%20the%20link%20in%20the%20menu%20will%20automatically%20be%20updated.%20But%20if%20I%20link%20to%20stuff%20in%20a%20different%20site%20collection%20or%20to%20something%20completely%20outside%20of%20SharePoint%20the%20menu%20does%20not%20really%20care%20if%20the%20thing%20exists%20or%20not.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20know%20if%20there%20is%20anyway%20I%20can%20control%20this%20behavior%20of%20the%20menu%3F%3CBR%20%2F%3EWhat%20I%20would%20like%20is%20that%20it%20at%20a%20minimum%20kept%20the%20child%20links%20somehow%20if%20someone%20by%20accident%20deleted%20a%20page%20that%20where%20linked%20to.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EArild%20Aarnes%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-389267%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Senior Member

I've noticed my HUB site menu is trying to be a bit too smart if I delete a page I have linked to.

 

Say I have a top node called "Country" that links to a page (in the same site) called country.aspx.

This node has several children, like "USA", "Norway", "Australia", "Germany" etc. linking to their respective pages.

2019-03-27_10h59_05.png

If I delete the page "country.aspx" the menu item Country disappears from the menu together with all the child items. Does not happen until you click Edit on the HUB site navigation, but then they are gone. I could sort of understand that the Country item disappeared but was it really necessary to remove all the child nodes that where working just fine :)   

I know there is some clever functionality here that checks if what the menu is linking to actually exists. At least this is true within the same site collection. Because if I rename a file the link in the menu will automatically be updated. But if I link to stuff in a different site collection or to something completely outside of SharePoint the menu does not really care if the thing exists or not.

 

Does anyone know if there is anyway I can control this behavior of the menu?
What I would like is that it at a minimum kept the child links somehow if someone by accident deleted a page that where linked to.

 

Thanks

 

Arild Aarnes

0 Replies