Additionnal Comments & Worknotes - How to manage HTML options

TitouanO
Tera Contributor

Hello ! 

Related to this post : https://www.servicenow.com/community/developer-forum/additional-comments-how-to-turn-it-into-an-html...

I've been trying to manage the HTML options for the Additionnal Comments & the Worknote fields.

To illustrate, here is what I have today : 

TitouanO_0-1736506191347.png

Here is what I would like to get : 

TitouanO_1-1736506225129.png

 

I've been trying to modify many sys_properties, like: 

  • glide.ui.html.editor.toolbar (which modified the HTML Description field, but not the Additionnal Comments & Worknotes)
  • glide.ui.html.editor.toolbar.line1 
  • glide.ui.html.editor.toolbar.line2
  • glide.ui.html.editor.v4.toolbar.line1
  • glide.ui.html.editor.v4.toolbar.line2
  • glide.ui.html.editor.v5.toolbar
  • glide.ui.html.toolbar

To make sure I wasn't trying to add a not activated HTML option, I just tried to remove the "Bold" in any of the sys_properties above, but it didn't change anything to my fields.

 

Any ideas on how to proceed to manage the HTML options on these fields ?

 

Thanks a lot for the answers !

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@TitouanO 

that post is very old i.e. from 2015

You can add html content directly into journal fields but you need to wrap them with [code][/code] tags

what's your business requirement here?

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

Hello @Ankur Bawiskar , thanks for you answer,

 

My users don't necessarily know how to use HTML, I can't ask them to use tags.

I would like to be able to manage which buttons I display for the Comments fields.

What my users needs the most is the insert/Edit code sample. They can choose which kind of language they would like to insert, there is a user interface (see below).

TitouanO_0-1736514204759.png

 

How could I add this option into the HTML buttons in the Comments field ?

Regards

 

@TitouanO 

check this link and it will help you

HTML Rich editor (Tinymc) as journal field 

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

Yes I've seen it, but it's a lot of work & custo for a few options that were super easy to add to other HTML fields which are not journal entries.

So the goal of my question was more :

Is there an easy way to configure those HTML options like we configure for the standard HTML fields ?

Maybe in the sys_properties ? Somewhere else ? Where can we find the current options displayed here ? I guess they must be defined somewhere ?

 

TitouanO_0-1736518162573.png