It’s tempting to use Word for HTML. After all it’s easy to use Word, even easier to copy and paste into word and make formatting changes.
However the downfall is that Word adds a lot of redundant HTML code which is not only irrelevant and difficult to follow but it may be completely unreadable and not work on your web page, HTML viewers, or with Ivanti Email Notifications. In other words, it won’t be WYSIWYG (What you see is what you get).
You will want to use a WYSIWYG HTML editor such as Brackets and clean up your HTML if you’re using word as the source with https://wordhtml.com/
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.
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!
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)
and then click source edit to reveal the base 64 code
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()
UPDATE January 2023: It seems that Ivanti has made some changes and now you need to 1) You may not be able to generate base64 images and find an online tool to do this for your. 2) You need to select Text as the attribute type for your global constant, HTML is no longer a valid option.
You must be logged in to post a comment.