Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to hide the HTML tags in the List header

spracntgw
Kilo Expert

Hi All,

We use a HTML field in the Incident module, but in the list, HTML tags is displayed.

How should we hide it?

find_real_file.png

Best regards,

Tomoaki

1 ACCEPTED SOLUTION

shloke04
Kilo Patron

Hi,



In order to hide the HTML Contents, please follow the below steps:



1) You would require to activate the Elevated privileges as shown in the screen shot below:



find_real_file.png


find_real_file.png



2) Once this has been activated, Navigate to System properties by typing sys_properties.LIST from Application Navigator search and search for the Property "glide.ui.escape_html_list_field" and set it to False as shown below:



find_real_file.png


find_real_file.png




This would be a Global Change and cannot be done for Specific Tables.



Hope this helps.Mark the answer as correct/helpful based on impact.



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

View solution in original post

9 REPLIES 9

shloke04
Kilo Patron

Hi,



In order to hide the HTML Contents, please follow the below steps:



1) You would require to activate the Elevated privileges as shown in the screen shot below:



find_real_file.png


find_real_file.png



2) Once this has been activated, Navigate to System properties by typing sys_properties.LIST from Application Navigator search and search for the Property "glide.ui.escape_html_list_field" and set it to False as shown below:



find_real_file.png


find_real_file.png




This would be a Global Change and cannot be done for Specific Tables.



Hope this helps.Mark the answer as correct/helpful based on impact.



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Thanks Shloke!


Now tags are disappeared!


But some description field (HTML) is too long that one record got tall height.


Is it possible to limit the number of display character of HTML field in List?



Tomoaki


Hi,



Regarding the field height I amnot sure on the property name if it exists or not. Nut you can give a try with the property "glide.sc.html_width".


Else you can try the below Option also by trying to adjust the setting "Wrap Longer Text in List Columns" and "Compact the User Interface" from the Setting s gear Icon as shown below:



find_real_file.png


find_real_file.png




find_real_file.png



Hope this helps.Mark the answer as correct/helpful based on impact.



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Export to excel,how to hide html tags?