The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Copy paste a screenshot in to the HTML field in service portal

Rajan Kumar4
Kilo Contributor

Hi, 

I am trying to pass images by using HTML feild on the service portal. I have followed this article
https://docs.servicenow.com/bundle/newyork-platform-administration/page/administer/field-administrat... which is available in the community. 

 created an HTML field on the record producer and mapped it to the comments(html feild) in the incident form. In the portal I am having an issue. I am trying to copy past the screenshot and when I am trying to paste it. it is loading in the HTML field and not getting insert in to the html. Any suggestion or recommendation on how to fix this. 

 

 

it throws an error saying not an authorize file extension 

 

find_real_file.png

3 REPLIES 3

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

I've just tried to do a quick test in my PDI (New York), it's works fine:

  • Added an HTML variable field and mapped to Comments
  • Copy/Paste a screenshoot in the HTML text area
  • The printscreen has been correctly pasted to the Incident record as Attachment and visible in the Activity logs

Refer to the image below, please try to do it in your PDI, maybe try to change browser (I'm using Chrome) in Incognito, also try to clean the cache, it must work.

find_real_file.png

find_real_file.png

find_real_file.png

If I have answered your question, please mark my response as correct and/or helpful.

Thank you very much

Cheers
Alberto

find_real_file.png

I have these in the system security  Attachments and the behavior. I need to change these. Extension to work properly. Our users use snipping tool and the print screen to capture the screenshot.

It should work because the snipping tool is producing a .png file, it's strange.