Inserting a picture to an Image field through Script

mp31
Tera Contributor

I want to insert an image from a script into the table. Basically, I'm receiving an image in the base64 format through a rest API call in my script and now I want to insert the same into the table having a column image of type image.

6 REPLIES 6

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

Aditya Telideva
ServiceNow Employee
ServiceNow Employee

Hi Manish,


The below link could help you:



https://snprotips.com/blog/2016/2/25/understanding-and-using-glideattachment


Thanksm


Aditya tELIDEVARA


PS: Please do mark as helpful, if you have found so:)


Chandu Telu
Tera Guru
Tera Guru

RAJU MANGA
Tera Contributor

Hi @mp31 

did you get solution on this. We are also currently working on the same requirement. It would be very helpful for us if know the solution to insert the image in any image field.

Thanks, and Regards
Raju Manga