Ivanti Developer - Ivanti Service Manager Consultant - Kifinti Consultant - Base 64 Code - Picture - HTML Text Field Type - Email Footer for Notifications - Service Desk

How to embed an image in Global Constants and business object fields

Binary Max field for pictures

If you want to add an image to a business object then you can use the Binary/Max field type which is a good way of displaying a screenshot or picture that you can open with a single click, opposed to attachments that you need to save locally first.

Ivanti Developer - Ivanti Service Manager Consultant - Kifinti Consultant - Screenshot Binary Max Field Type

HTML text fields with Base 64 Code

Another way is to use an HTML field, first select Text as the field type you want to add and then change it to HTML.  Now you can paste images which which will be converted to Base 64.   To view the base 64 code click source edit to copy it and voila!

Ivanti Developer - Ivanti Service Manager Consultant - Kifinti Consultant - Base 64 Code - Picture - HTML Text Field Type

Global Constants

Now you can copy and paste the base 64 code OR entire HTML code to Global Constants such as a “generic” Email Footer for example for ALL outgoing email notifications.

Tip:  If you do not have any HTML fields, then you can create an Email with Ivanti Service Manager and use the email body (it’s HTML) 

Ivanti Developer - Ivanti Service Manager Consultant - Kifinti Consultant - Base 64 Code - Picture - HTML Text Field Type - Email Footer for Notifications - Service Desk

and then click source edit to reveal the base 64 code

Ivanti Developer - Ivanti Service Manager Consultant - Kifinti Consultant - Base 64 Code - Picture - HTML Text Field Type - Base 64 Code - Email Footer for Notifications - Service Desk

and then copy the code into the Global Constant.

Calling Global Constants

In your email notification body, or anywhere else in ISM you can call the Global with the function GetGlobal()