Expand my Community achievements bar.

SOLVED

Hiding a Tab.

Avatar

Level 4

Hi,

There is a scenario where we need to hide a particular tab from the header component. So, I just selected the tab and clicked on "hide in navigation" check box under properties and also cleared the cache for a particular page. But still that tab is visible.

Any inputs on this...

 

Thanks,

Shreyas.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Shreyas_tm 

Please check the cache, as the issue might be caused by outdated content cached at various levels, such as the dispatcher, CDN, or browser cache.



Arun Patidar

View solution in original post

6 Replies

Avatar

Community Advisor

Hi @Shreyas_tm 

If I understood correct, you want to hide a page from Navigation/Header, so user cannot navigate or click it from Header of the page.
If yes, then can you tell more about your Header component? 
Are you using Core Component "Navigation" to implement Header for your project?

I tried same on my local instance, and it is hiding the page from Header when I select "Hide in Navigation" checkbox.

Avatar

Level 4

Hi @iamnjain ,

Yes, its exactly correct.

Yes, I too executed this process on my local instance and dev instance and I was able to achieve it successfully.

But its not working as expected on PROD-instance.

 

Thanks,

Shreyas.

Avatar

Community Advisor

Okay, got it.

Are you seeing any error specific to Header/Navigation component in error logs or browser console?
If it's working in Dev instance, then it should work in Prod/higher env as well, assuming same code is deployed on the instances.

I think in this case, you need to debug it at your project/code level or provide more info, so we can help here.

Avatar

Level 4

No specific errors in console. Same code is deployed in all instances.

Ok, let me know if any other suggestions.

 

Thanks,

Shreyas.

Avatar

Correct answer by
Community Advisor

Hi @Shreyas_tm 

Please check the cache, as the issue might be caused by outdated content cached at various levels, such as the dispatcher, CDN, or browser cache.



Arun Patidar

Avatar

Level 4

Hi @iamnjain , @arunpatidar 

The issue is resolved. It was a cache issue.

 

Thanks,

Shreyas.