Best place to store IMAGEs for Quick Messages so that content needn't be edited before moving to Production?

jhr
Kilo Expert

Hi,

The system I've started working on is set up so that images within Quick Messages are referenced by the https address of the webserver. Unfortunately, this means that the actual content of each Quick Message that includes an image needs to be edited before deployment to another environment. This results in the possibility that new errors may be introduced during the editing process. For those of you who have been developing in ServiceNow for a while, I would appreciate knowing how you are referencing images within quick messages so that manual editing is not needed. Many thanks for any pointers on how this can best be done!

1 ACCEPTED SOLUTION

Jacob_Andersen
ServiceNow Employee
ServiceNow Employee

It looks like in Eureka you'll be able to link to the image directly and the system will convert your link to the correct instance URL:


Email Notifications - ServiceNow Wiki



However, in the meantime, you'll need to have an absolute URL path (include https://[instance_name]....).   You can get your instance name (and therefore, build your url) via script as shown here: » How to find the name or URL of your Service-now instance via script



Hope this helps!


View solution in original post

6 REPLIES 6

Jacob_Andersen
ServiceNow Employee
ServiceNow Employee

It looks like in Eureka you'll be able to link to the image directly and the system will convert your link to the correct instance URL:


Email Notifications - ServiceNow Wiki



However, in the meantime, you'll need to have an absolute URL path (include https://[instance_name]....).   You can get your instance name (and therefore, build your url) via script as shown here: » How to find the name or URL of your Service-now instance via script



Hope this helps!


Jacob,



Perfect! Thank you so much! This is just what we need so we don't need to edit each Quick Message before we move to production!



Jane