How to hide annotation on incident form

govi1
Giga Contributor

Hi Team,

I am trying to hide one annotation(information) on the incident form based on one condition .

Condition: when assignment group is service desk i want to show annotation and when assignment group is not "ServiceDesk "i don't want to show that annotation .

Below is the screenshot for reference .

any help would be great .

Regards,

Govardhan

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Govardhan,

please check below links; both mention that you will have to use DOM manipulation to achieve this

For that to work: un-check the 'Isolate script' checkbox so that your DOM manipulation script can run without issue; this field is not on form; but from list you can edit that

https://community.servicenow.com/community?id=community_question&sys_id=fe50e326db6de700b1b102d5ca96...

https://community.servicenow.com/community?id=community_question&sys_id=3c6c83a5db9cdbc01dcaf3231f96...

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ct111
Giga Sage

Refer the below example

https://community.servicenow.com/community?id=community_question&sys_id=fe50e326db6de700b1b102d5ca96...

 

It wiil be helpful in your case.

 

Mark my ANSWER as CORRECt and HELPFUL if it works

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Govardhan,

please check below links; both mention that you will have to use DOM manipulation to achieve this

For that to work: un-check the 'Isolate script' checkbox so that your DOM manipulation script can run without issue; this field is not on form; but from list you can edit that

https://community.servicenow.com/community?id=community_question&sys_id=fe50e326db6de700b1b102d5ca96...

https://community.servicenow.com/community?id=community_question&sys_id=3c6c83a5db9cdbc01dcaf3231f96...

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Anil Shewale
Mega Guru

Hi

refer the following thread it might help you

https://community.servicenow.com/community?id=community_question&sys_id=e40247e9db98dbc01dcaf3231f96...

 

If it help mark helpful or correct 

Thanks and regards

Anil