How to stop images pasted into work notes being customer visible

Michael Culhan1
Kilo Sage

When glide.ui.journal.use_html is set to true, agents can paste images into Additional Comments and Work Notes.  The trouble is, when the comment is posted, the activity shows an entry for image uploaded which is customer visible.  Any way to stop this and just leave the image in the work note/comment ?  The email configuration table has an option for this for emails (don't attach to record, just leave in email)... wondering if there is something similar for the journal

 

Edit for clarity:

Steps to reproduce:

1) Set glide.ui.journal.use_html to true
2) Go to an incident in agent workspace.  Paste an image into the work notes rich text editor.  Post the work note
3) The work note will post into the activity with the image embedded.
4) The image is also uploaded as an attachment (twice actually) to the incident.  If you go to the attachments table, there are three attachments associated with this procedure. 

  • the attachment on the sys_journal_field table
  • two attachments on the incident table (as ZZYY).  These are the attachments that are visible to the customer.

My question is, is it possible to not have these last two attachments (YYZZincident) upload into the incident record? 

The email client configuration table (sys_email_client_configuration) has a setting for attachments (attachment_send_action) where you can specify that attachments should not be uploaded to the original record and just remain in the email.  I'm wondering if there is something similar for sys_journal_field.  Thanks.

 

1 ACCEPTED SOLUTION

Michael Culhan1
Kilo Sage

Support has informed me that this has been fixed in the Tokyo release.

View solution in original post

16 REPLIES 16

Hello,

I think you may be misreading what @Maik Skoddow said.

They mentioned exactly what you ended up revealing that you did do, but Maik was saying you didn't say this originally. So we wouldn't know that you did that. There are other customizations you can do and some people say things regarding ServiceNow, but then it's found out that they're using the wrong word or meaning something else.

So, with that said, because you customized the field, and due to that customization you are having an issue, it would be best to state all of that in your original post (or at least say a bit more in your follow-up reply than you did), just so we're all on the same page. The system property is default: false. 

Anyways, with that said, if you paste an image into the field, ServiceNow treats that as an attachment. However, you can embed the image, just as Maik said above, using the embed image functionality of that very same field. If you do this, then the image is limited to people with direct access to that record and field and therefore the customer would not see it and it would not be an attachment.

So that's the out of box way to handle that, just a small user training thing.

To allow them to paste images (which may have been one of the main reasons why you enabled that field to use html via that system property anyway), you would have to think through appropriate steps to decipher that current attachment, where it was inserted, and then label that attachment a specific way or set a field on that attachment a certain way, that a "read" ACL for the sys_attachment table would be adjusted to NOT allow a customer to see. So, a more complex solution, from my opinion, than the user training option for your IT staff to follow.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Thanks, @Allen A for the clarification.  @Maik Skoddow My apologies for the confusion.  I updated the original post to add some clarification.  Thanks both of you for your help!

Hi @Allen A , Any idea where I can modify the tinymce editor for worknotes/comments?  It doesn't seem to have the the Insert Image function in Agent Workspace

 

find_real_file.png

Hi,

I'm not sure who John is? (though now you've edited your post...)

If any reply has been Helpful thus far, please mark it as such.

As far as any configuration, can you try clicking this icon as seen in your screenshot?

find_real_file.png

See also: https://docs.servicenow.com/bundle/rome-platform-administration/page/use/using-forms/reference/r_Edi...

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Oh, goodness, I wrote "John" instead of "Allen".  I'm having a rough go of it today, sorry 😞

The configuration menu doesn't have options for that.  I tried adding an html field to incident to see what it looks like in Agent Workspace: the full tinyMCE editor shows up (with the image function).  So it's just this tinymce on the journal field that has limited functions.  I have a feeling that this tinymce is not configurable, I'll ask support.

Have a great day!