ServiceNow - Formatting of text on templates/incidents/work notes

Max55
Kilo Explorer

ServiceNow Paris.

Is it possible to format text on templates/incident detail/work notes e.g. bold text, different colours, underline?

And if so, how is this done?

5 REPLIES 5

Community Alums
Not applicable

Wrap your text inside [code] tags and then format using html. 

It'll look like this: 

[code]
<p>I will be <strong>bold</strong> text.</p>
[/code]

Hi Mike,

is there also a way to "calculate" in the [code][/code] block?
A little background: we post Incident updates via WebHooks from Nexthink. Nexthink's timezone, however, is UTC so all time data come in an hour "earlier" than here in MEZ. The variables that I use are inserted in the template as {{field1}} (Mustache-format). I'm aware of the fact, that one can do some tricks within the curly braces but does ServiceNow also support that?
A second question tightly related to the first: is it possible to also add a [script][/script] block within the [code]-block for extracting WebHook payloads' data in order to create a more fancy display?
Thanks in advance for your valued response,
Max

Max55
Kilo Explorer

Hi Mike, thanks for your time, I have determined how you can amend text in work notes via the [code] option. What I would like to know as well is the main fields in the ticket such as short description, description, and titles of those fields, can these be altered, making the whole design a bit different?

Hi Max,

I guess you can achieve this with the help of System Property. Below link might help you;

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