Hide Annotations

gaidem
ServiceNow Employee

I've gotten the element ID and tried doing a .style.display='none'; This seemed like a long shot, so I'm not surprised it didn't work. Does anyone know how to conditionally show/hide an annotation?

Thanks!

Matt

21 REPLIES 21

[quote]However I still get the following error: "id.indexOf is not a function" any idea?[/quote]


I still get this error as well and can't seem to figure this out any other way...


tbalestreri3
Mega Contributor

Did anyone figure this out?


CapaJC
ServiceNow Employee

Annotations changed w/ the Aspen release, but I have opened a Problem for the fact that it's not easy to hide one w/ a Client Script. Hopefully by the Berlin release there'll be an easy way.


It is not that easy you say... so there is a way?


Quyen1
Tera Contributor

Service-Now fix the issue with hiding Annotation with Aspen release yet? We used it quite a bit on our form.