how to call a image in server side script

shaik_irfan
Tera Guru

Hi,

 

I have an image in the Images table which i want to call in Business Rule. Can anyone please help me on this

1 ACCEPTED SOLUTION

You should be able to reference it by doing: instance.service-now.com/imagess.gif

Replace instance with the name of your instance.

View solution in original post

8 REPLIES 8

Hi Shaik,

so it means you need to send an image to 3rd party API; I believe you need to send base64encoded data for the file

Did you check the API documentation or sample request which will contain file data?

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Yes Ankur,

 

I am not much familiar with coding. I have an image in Images table now which i want to encode and send as a public image url.

Use the following code for displaying in content blocks:  <img src="imagess.gif" width="220" height="124"/>

 

can you please help me how to convert that.

 

 

You should be able to reference it by doing: instance.service-now.com/imagess.gif

Replace instance with the name of your instance.

Great. Sir that worked 🙂