Change Additional comments(Journal Input) to HTML(like WYSIWYG)

Taehong Min
ServiceNow Employee
ServiceNow Employee

Hi, Expert.

My customer wants change type of Additional Comments from "Journal Input" to "HTML" (like WYSIWYG) in incident form. Is it possible?
After my confirmation, I found following link. but this link doesn't work. it forwards to ServiceNow Docs main page.

https://docs.servicenow.com/?title=Implementing_HTML_in_Comments#gsc.tab=0 

Please refer attached image. this is my expected form layout.
Could you please tell me the procedure if anyone have this kind of customer request?

Thank you always.

Regards,

find_real_file.png

4 REPLIES 4

Harsh Vardhan
Giga Patron

Hi, Harshvardhan

Thank you for your prompt answer.

 

My customer wants HTML field(WYSIWYG-like editor) instead of journal input for additional comments in incident form.
Could you please refer my attached file above? you may imagine my expected layout.

I mean they want use "WYSIWYG"(Change type from "Journal" to "HTML")

Thank you for your help and any suggestion would be appreciated.

Min

  

 

i believe there is not any ootb properties can fulfill this requirement at the current release. 

but there is a way to do that as it has mentioned in old wiki link. 

create a custom  html type field and hide the additional comments from the user , 

let them enter the value in that field once they will save you can write a before business rule on your form to get the html value then updated in additional comment field. hope it will help you.

current.comments= "[code]" + current.u_new_comment + "[/code]"

Hi again Harshvardhan,

I understood that it cannot fulfill with OOTB. I will suggest custom html type as mentioned in old wiki to customer.

Thank you for your help, Harshvardhan!

Min