0

I have a hidden item in the top navigation bar shows in the photoPhoto

Using the rest api, my url is

http://<site>/_api/web/navigation/TopNavigationBar

It returns with the hidden item. How can i prevent this?

  • These API's are provided out of the box. We can't modify any of those service. What is the actual usecase in this requirement? – Amal Hashim Aug 9 '16 at 12:21
  • use the top nav bar in a custom designed page – Tarek Salah uddin Mahmud Aug 9 '16 at 12:32
  • Just check JSOM and see if it gives back a visible property – Amal Hashim Aug 9 '16 at 12:39
  • Here is a IsVisible property, but it always gives a true value – Tarek Salah uddin Mahmud Aug 9 '16 at 12:40
  • 1
    Yes I know this is a bug in REST API that is why I requested to check JSOM – Amal Hashim Aug 9 '16 at 12:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.