Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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

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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

JerryJ071847183
Tera 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

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  ||  10x 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