Additional comment hyperlink not in TEST instance

vidhya_mouli
Giga Sage
[code]<a href="https://www.google.com/" target="_blank">Google</a>[/code]

 

The above code works on DEV instance but not TEST instance. Does anyone know why?

1 ACCEPTED SOLUTION

Bhuvan
Mega Patron

@vidhya_mouli 

 

Check the property glide.ui.security.allow_codetag between Development and Test environments and update accordingly and test it

 

Also refer below KA for system property configuration

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2337014

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

View solution in original post

3 REPLIES 3

Bhuvan
Mega Patron

@vidhya_mouli 

 

Check the property glide.ui.security.allow_codetag between Development and Test environments and update accordingly and test it

 

Also refer below KA for system property configuration

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2337014

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

M Iftikhar
Mega Sage

Hi @vidhya_mouli ,

 

This could be due to different Security Settings between DEV and TEST instances.

You can try checking the following across environments:

  • Check System Properties [sys_properties].

  • Compare glide.ui.escape_all_script.

 

Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.

 

Ankur Bawiskar
Tera Patron
Tera Patron

@vidhya_mouli 

Possibly in test instance the property "glide.ui.security.allow_codetag" is false, it's part of instance hardening.

AnkurBawiskar_2-1759135974647.png

 

Allow embedded HTML code (instance security hardening) 

also check this KB and the property

Journal Fields are not rendering the HTML Tags when trying to update using the API 

AnkurBawiskar_1-1759135909213.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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