How to insert screenshot to journal field type (Additional comments)

Kifrez
Kilo Guru

Hi, could we paste screenshot to additional comments ? is there any way to do so? Do we need to use [code]?

 

find_real_file.png

2 REPLIES 2

Harshal Gawali
Giga Guru

Hello Freddy,

Please check below threads, this might help you.

Adding screen shots to comment and work notes fields.

Paste screenshot into Journal field

 

Regards,

Harshal.

Willem
Giga Sage
Giga Sage

Hi Freddy,

You cannot paste a screenshot in the worknotes/comments. You can add the image as attachment and it will show. Or you can drag and drop, as described here:

https://docs.servicenow.com/bundle/orlando-platform-user-interface/page/use/using-forms/task/t_Attac...

 

A workaround for this is to add a new field of type HTML. There you can paste images. Then have a Before Insert and Update business rule copy the content of that field to the comments field and clear the html field:

current.comments = ("[code]" + current.u_new_comment + "[/code]" );
current.u_new_comment = "";

 

Reference: https://old.wiki/index.php/Implementing_HTML_in_Comments