Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to add HTML Content to Invitation Notification?

Maik Skoddow
Tera Patron
Tera Patron

At a given notification of Type "Meeting Invitation" I want to add a HTML body. 

Normallythat can be done by adding the line X-ALT-DESC;FMTTYPE=text/html: to invitation content.

But how can I reference there the HTML Message of the Notification or the Template? Invoking a mail script doesn't seem to work!

find_real_file.png

 

 
1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

In the meantime I could answer my own question:

  1. I did not find any way to reference content of field "Message HTML"
  2. Unknow variables come from a mapping defined at table sys_impex_map (see Map date fields to iCalendar variables).
  3. The best way to insert (HTML) content into a icalendar row is to store it temporarily at current and reference it as usual, e.g. ${html_description}

View solution in original post

4 REPLIES 4

Maik Skoddow
Tera Patron
Tera Patron

In the meantime I could answer my own question:

  1. I did not find any way to reference content of field "Message HTML"
  2. Unknow variables come from a mapping defined at table sys_impex_map (see Map date fields to iCalendar variables).
  3. The best way to insert (HTML) content into a icalendar row is to store it temporarily at current and reference it as usual, e.g. ${html_description}

Maik,

I'm running into a similar issue.

1. Do you have to create a sys_impex_map entry to be able to use HTML in the email body of the meeting invite?

2. I created an html field on the "current" record (from which the email sends) and i'm referencing it in the message text as such: X-ALT-DESC;FMTTYPE=text/html: ${aar_invite_message} but this is not working. 

Am I missing something (with sys_impex_map by chance?) or something else?

Hi @amyrobben 
yes ... sys_impex_map is required ..... the field will be External name : "X-ALT-DESC" mapped with the database field : "aar_invite_message" selecting the type as "field".