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 use HTML content in additional comments or work notes fields

Nikhitha Gannam
Kilo Contributor

I am looking to use HTML content in additional comments fields.

I want to send Bold content/heading content to the customer

6 REPLIES 6

Samaksh Wani
Giga Sage

Hello @Nikhitha Gannam 

 

Use this :-

 

 

[code]<h1>Heading Text</h1>[/code]

 

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.

 

Regards,

Samaksh

Harish Bainsla
Kilo Patron
Kilo Patron

<!DOCTYPE html>
<html>
<head>
<title>Bold and Heading Example</title>
</head>
<body>
<p>This is a <strong>bold</strong> text example.</p>
<h1>This is a Level 1 Heading</h1>
<h2>This is a Level 2 Heading</h2>
</body>
</html>

Community Alums
Not applicable

Aman Kumar S
Kilo Patron

Hi @Nikhitha Gannam ,

 

You use [code][/code] tags for this purpose 
eg:    [code]<blockquote>This is a quote</blockquote>[/code]

You need to ensure first that system property is active to allow html entries:

glide.ui.journal.use_html

sys_prop_JE.PNG

 

You can refer to following article:

https://www.servicenow.com/community/in-other-news/formatting-within-journal-fields-using-html-code/...

Best Regards
Aman Kumar