<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Formatting email notifications in GeoEvent Processor in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368711#M1563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good news on this ... the Message Formatter (used by the '&lt;SPAN style="color: #777777; font-size: 9.0pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;STRONG&gt;Send an Email&lt;/STRONG&gt;&lt;/SPAN&gt;' outbound connector) was enhanced at 10.4 to support HTML code. When configuring the output, use the new drop down to select HTML, and e-mail messages you send will display using HTML code you enter into the GeoEvent output connector's message body.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Sending the following event data to GeoEvent (using a '&lt;SPAN style="color: #777777; font-size: 9.0pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;STRONG&gt;Receive JSON on a REST Endpoint&lt;/STRONG&gt;&lt;/SPAN&gt;' inbound connector):&lt;/LI&gt;&lt;/UL&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;{
&amp;nbsp; "Customer_Logo": "http://webapps-cdn.esri.com/Apps/MegaMenu/img/logo.jpg",
&amp;nbsp; "Issue_Header": "Enhance Message Adapter with the ability to handle HTML content",
&amp;nbsp; "Tech_Advisor": "Ming Zhao",
&amp;nbsp; "Date_Reported": "June 2, 2014",
&amp;nbsp; "Customer_Name": "Becks Hybrids",
&amp;nbsp; "Customer_No": "123-45-6789",
&amp;nbsp; "Contact_Phone": "1-800-937-2325",
&amp;nbsp; "Customer_Address": "6767 E. 276th St.",
&amp;nbsp; "City_State_Zip": "Downs, IL 61736"
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;And entering the following HTML code into the '&lt;SPAN style="color: #777777; font-size: 9.0pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;STRONG&gt;Send an Email&lt;/STRONG&gt;&lt;/SPAN&gt;' output's '&lt;SPAN style="color: #777777; font-size: 9.0pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;STRONG&gt;Message Body&lt;/STRONG&gt;&lt;/SPAN&gt;' text box:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;img src=${Corporate_Logo} alt='xxx' width='80'/&amp;gt;
&amp;lt;h1 style='font-family:Segoe, Arial, sans-serif;font-weight: 700;'&amp;gt;${Issue_Header}&amp;lt;/h1&amp;gt;
&amp;lt;table style='font-family:Segoe, Arial, sans-serif;font-weight: 400;border-collapse:collapse;'cellpadding='5'&amp;gt;
&amp;lt;tr style='background-color:lightgrey;'&amp;gt;
 &amp;lt;td style='font-weight:600;' width='130px'&amp;gt;Technical Advisor:&amp;lt;/td&amp;gt;
 &amp;lt;td width='140px'&amp;gt;${Tech_Advisor}&amp;lt;/td&amp;gt;
 &amp;lt;td width='50px'&amp;gt;
 &amp;lt;/td&amp;gt;
 &amp;lt;td style='font-weight:600;' width='150px'&amp;gt;Date Reported:&amp;lt;/td&amp;gt;
 &amp;lt;td&amp;gt;${Date_Reported}&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt;
 &amp;lt;td colspan='5'&amp;gt;
 &amp;lt;table style='width:100%; border-bottom-style:solid; border-bottom-width:3px; border-right-style:solid; border-right-width:3px; border-bottom-color:#888888; border-right-color:#888888;'&amp;gt;
 &amp;lt;tr style='font-weight:700; font-size:larger; background-color:lightgrey'&amp;gt;
 &amp;lt;td colspan='5'&amp;gt;Customer Information&amp;lt;/td&amp;gt;
 &amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt;
 &amp;lt;td style='font-weight:600;' width='130px'&amp;gt;Customer Name:&amp;lt;/td&amp;gt;
 &amp;lt;td width='160px'&amp;gt;${Customer_Name}&amp;lt;/td&amp;gt;
 &amp;lt;td width='50px'&amp;gt;
 &amp;lt;/td&amp;gt;
 &amp;lt;td style='font-weight:600;' width='150px'&amp;gt;Customer Number:&amp;lt;/td&amp;gt;
 &amp;lt;td width='160px'&amp;gt;${Customer_No}&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt;
 &amp;lt;td style='font-weight:600;vertical-align:text-top' width='130px'&amp;gt;Customer Address:&amp;lt;/td&amp;gt;
 &amp;lt;td width='160px'&amp;gt;${Customer_Address} &amp;lt;br/&amp;gt; ${City_State_Zip}&amp;lt;/td&amp;gt;
 &amp;lt;td width='50px'&amp;gt;
 &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt;
 &amp;lt;td style='font-weight:600;vertical-align:text-top' width='130px'&amp;gt;
 &amp;lt;/td&amp;gt;
 &amp;lt;td width='160px'&amp;gt;
 &amp;lt;/td&amp;gt;
 &amp;lt;td width='50px'&amp;gt;
 &amp;lt;/td&amp;gt;
 &amp;lt;td style='font-weight:600;vertical-align:bottom' width='150px'&amp;gt;Phone:&amp;lt;/td&amp;gt;
 &amp;lt;td style='vertical-align:bottom' width='160px'&amp;gt;${Contact_Phone}&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Should result in a nicely formatted table being sent, via e-mail, to a specified recepient&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG __jive_id="144688" alt="Capture.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/144688_Capture.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was a 10.4 product enhancement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- RJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 17:05:39 GMT</pubDate>
    <dc:creator>RJSunderman</dc:creator>
    <dc:date>2021-12-11T17:05:39Z</dc:date>
    <item>
      <title>Formatting email notifications in GeoEvent Processor</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368707#M1559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to format the email-out notifications so they are more readable.&amp;nbsp; I have over 80 fields I am feeding into it.&amp;nbsp; Right now the emails spit out something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Name: Randy &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;because I have it going in as Name: ${CustomerName}.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to see this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Name: &lt;/STRONG&gt;&lt;SPAN&gt;Randy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but can't figure out how to format it.&amp;nbsp; I tried basic HTML &amp;lt;B&amp;gt;&amp;lt;/B&amp;gt; but it did nothing.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions? Is this even possible?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 11:03:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368707#M1559</guid>
      <dc:creator>BrookeGajownik</dc:creator>
      <dc:date>2014-05-29T11:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting email notifications in GeoEvent Processor</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368708#M1560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Brooke -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for the delay in getting back with you.&amp;nbsp; I've confirmed, unfortunately, that the adapter and transport behind the &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;Send an email&lt;/STRONG&gt;&lt;SPAN&gt; outbound connector will not accept HTML mark-up ... so you will not be able to add formatting to the e-mail messages you are sending out from GeoEvent Processor at current 10.2.x product release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After speaking with the developer, support for this can reasonably be added, and I have created a work item in our product backlog. I cannot promise that it will make the 10.3 product release, but we will work to see if we can make that happen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RJ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 16:55:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368708#M1560</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2014-06-02T16:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting email notifications in GeoEvent Processor</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368709#M1561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you so much RJ!&amp;nbsp; I appreciate you looking into this for me and I look forward to seeing it added to a future release.&amp;nbsp; Brooke&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 14:11:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368709#M1561</guid>
      <dc:creator>BrookeGajownik</dc:creator>
      <dc:date>2014-06-09T14:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting email notifications in GeoEvent Processor</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368710#M1562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also interested in HTML mark-up for the outbound connector.&amp;nbsp; Keep me posted! Katie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 19:41:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368710#M1562</guid>
      <dc:creator>KDeVogelaere</dc:creator>
      <dc:date>2015-04-09T19:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting email notifications in GeoEvent Processor</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368711#M1563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good news on this ... the Message Formatter (used by the '&lt;SPAN style="color: #777777; font-size: 9.0pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;STRONG&gt;Send an Email&lt;/STRONG&gt;&lt;/SPAN&gt;' outbound connector) was enhanced at 10.4 to support HTML code. When configuring the output, use the new drop down to select HTML, and e-mail messages you send will display using HTML code you enter into the GeoEvent output connector's message body.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Sending the following event data to GeoEvent (using a '&lt;SPAN style="color: #777777; font-size: 9.0pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;STRONG&gt;Receive JSON on a REST Endpoint&lt;/STRONG&gt;&lt;/SPAN&gt;' inbound connector):&lt;/LI&gt;&lt;/UL&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;{
&amp;nbsp; "Customer_Logo": "http://webapps-cdn.esri.com/Apps/MegaMenu/img/logo.jpg",
&amp;nbsp; "Issue_Header": "Enhance Message Adapter with the ability to handle HTML content",
&amp;nbsp; "Tech_Advisor": "Ming Zhao",
&amp;nbsp; "Date_Reported": "June 2, 2014",
&amp;nbsp; "Customer_Name": "Becks Hybrids",
&amp;nbsp; "Customer_No": "123-45-6789",
&amp;nbsp; "Contact_Phone": "1-800-937-2325",
&amp;nbsp; "Customer_Address": "6767 E. 276th St.",
&amp;nbsp; "City_State_Zip": "Downs, IL 61736"
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;And entering the following HTML code into the '&lt;SPAN style="color: #777777; font-size: 9.0pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;STRONG&gt;Send an Email&lt;/STRONG&gt;&lt;/SPAN&gt;' output's '&lt;SPAN style="color: #777777; font-size: 9.0pt; font-family: 'Helvetica',sans-serif;"&gt;&lt;STRONG&gt;Message Body&lt;/STRONG&gt;&lt;/SPAN&gt;' text box:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;img src=${Corporate_Logo} alt='xxx' width='80'/&amp;gt;
&amp;lt;h1 style='font-family:Segoe, Arial, sans-serif;font-weight: 700;'&amp;gt;${Issue_Header}&amp;lt;/h1&amp;gt;
&amp;lt;table style='font-family:Segoe, Arial, sans-serif;font-weight: 400;border-collapse:collapse;'cellpadding='5'&amp;gt;
&amp;lt;tr style='background-color:lightgrey;'&amp;gt;
 &amp;lt;td style='font-weight:600;' width='130px'&amp;gt;Technical Advisor:&amp;lt;/td&amp;gt;
 &amp;lt;td width='140px'&amp;gt;${Tech_Advisor}&amp;lt;/td&amp;gt;
 &amp;lt;td width='50px'&amp;gt;
 &amp;lt;/td&amp;gt;
 &amp;lt;td style='font-weight:600;' width='150px'&amp;gt;Date Reported:&amp;lt;/td&amp;gt;
 &amp;lt;td&amp;gt;${Date_Reported}&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt;
 &amp;lt;td colspan='5'&amp;gt;
 &amp;lt;table style='width:100%; border-bottom-style:solid; border-bottom-width:3px; border-right-style:solid; border-right-width:3px; border-bottom-color:#888888; border-right-color:#888888;'&amp;gt;
 &amp;lt;tr style='font-weight:700; font-size:larger; background-color:lightgrey'&amp;gt;
 &amp;lt;td colspan='5'&amp;gt;Customer Information&amp;lt;/td&amp;gt;
 &amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt;
 &amp;lt;td style='font-weight:600;' width='130px'&amp;gt;Customer Name:&amp;lt;/td&amp;gt;
 &amp;lt;td width='160px'&amp;gt;${Customer_Name}&amp;lt;/td&amp;gt;
 &amp;lt;td width='50px'&amp;gt;
 &amp;lt;/td&amp;gt;
 &amp;lt;td style='font-weight:600;' width='150px'&amp;gt;Customer Number:&amp;lt;/td&amp;gt;
 &amp;lt;td width='160px'&amp;gt;${Customer_No}&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt;
 &amp;lt;td style='font-weight:600;vertical-align:text-top' width='130px'&amp;gt;Customer Address:&amp;lt;/td&amp;gt;
 &amp;lt;td width='160px'&amp;gt;${Customer_Address} &amp;lt;br/&amp;gt; ${City_State_Zip}&amp;lt;/td&amp;gt;
 &amp;lt;td width='50px'&amp;gt;
 &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&amp;lt;tr&amp;gt;
 &amp;lt;td style='font-weight:600;vertical-align:text-top' width='130px'&amp;gt;
 &amp;lt;/td&amp;gt;
 &amp;lt;td width='160px'&amp;gt;
 &amp;lt;/td&amp;gt;
 &amp;lt;td width='50px'&amp;gt;
 &amp;lt;/td&amp;gt;
 &amp;lt;td style='font-weight:600;vertical-align:bottom' width='150px'&amp;gt;Phone:&amp;lt;/td&amp;gt;
 &amp;lt;td style='vertical-align:bottom' width='160px'&amp;gt;${Contact_Phone}&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Should result in a nicely formatted table being sent, via e-mail, to a specified recepient&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG __jive_id="144688" alt="Capture.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/144688_Capture.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was a 10.4 product enhancement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- RJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:05:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368711#M1563</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2021-12-11T17:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting email notifications in GeoEvent Processor</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368712#M1564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is really cool but it looks like it is converting my decimal value into scientific notation. Is there a way to avoid it? I tried mapper processor to map to a string field but that doesn't help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A cost value of 45,456,456,456 got converted to 4.5456456456E10 0.0 &amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;Any thoughts?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 16:05:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368712#M1564</guid>
      <dc:creator>Raleigh_GISGIS</dc:creator>
      <dc:date>2019-07-17T16:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting email notifications in GeoEvent Processor</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368713#M1565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GeoNet sent me a message that you were&amp;nbsp;having some trouble using basic HTML tags in the Message&amp;nbsp;Body to simply display certain fields in &lt;STRONG style="font-size: 12px; "&gt;BOLD&lt;/STRONG&gt;. The following worked for me (entered as a single line of text):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&amp;lt;span style='font-weight:600;'&amp;gt;Vehicle ID:&amp;lt;/span&amp;gt; ${VehicleID}&amp;lt;br/&amp;gt;&lt;BR /&gt;&amp;lt;span style='font-weight:600;'&amp;gt;LastUpdated:&amp;lt;/span&amp;gt; ${LastUpdated}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following also worked for me, using HTML tags rather than CSS Properties:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;&amp;lt;strong&amp;gt;Vehicle ID:&amp;lt;/strong&amp;gt; ${VehicleID}&amp;lt;br/&amp;gt;&amp;lt;strong&amp;gt;LastUpdated:&amp;lt;/strong&amp;gt; ${LastUpdated}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;– RJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 18:53:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368713#M1565</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2019-08-02T18:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting email notifications in GeoEvent Processor</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368714#M1566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you perhaps find an answer to your original question on how to &lt;SPAN style="font-size: 13px;"&gt;&lt;STRONG&gt;BOLD&lt;/STRONG&gt;&lt;/SPAN&gt; text in your notification message, and re-post to ask about formatting decimal values in more user-friendly formats rather than scientific notation?&amp;nbsp; GeoNet sent me a message about the former, but looking at the thread this morning, I'm seeing the latter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case,&amp;nbsp;for&amp;nbsp;the question GeoNet is showing now, if the data you are receiving is a high precision value such that Java wants to use scientific notation to represent the value, I think you're stuck with the scientific notation.&amp;nbsp;It's not a question of how to use the MessageFormatter (the adapter used to format an event record prior to sending an email or SMS text message request to an SMTP Server) to reformat a Double value&amp;nbsp;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;123456789000&lt;/SPAN&gt; to represent it as&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;123,456,789,000&lt;/SPAN&gt;&amp;nbsp;rather than&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;1.23456789E11&lt;/SPAN&gt;. The output's adapter does not support string formatting or data type conversion. The only formatting it offers is variable substitution ( e.g. &lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;${VehicleID}&lt;/SPAN&gt; ) and HTML / CSS formatting like what I've shown above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you've discovered, using a Field Calculator expression such as &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;toString(myValue)&lt;/SPAN&gt; to try and convert a Double value to a String simply represents &lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;1.23456789E11&lt;/SPAN&gt;&amp;nbsp;as the string literal &lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;"1.23456789E11"&lt;/SPAN&gt;. Unfortunately the Field Calculator does not support Java code such as &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;String.format("%.0f", myValue)&lt;/SPAN&gt; or&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;java.text.DecimalFormat.format(myValue)&lt;/SPAN&gt;. The processor is only able to interpret a selection of string and mathematical functions for which wrappers have been developed as part of the processor's implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you need to handle the cost value as a Double at any point in the GeoEvent Service? You might consider configuring the GeoEvent Definition used by your input to specify&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;costValue&lt;/SPAN&gt;&amp;nbsp;be treated as a String, even though the data is arriving as a long integer value. You could use the attribute&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;costValue&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;in your e-mail notification message and (if necessary) use a Field Mapper to explicitly cast the String to a Double by mapping&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;costValue&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;into&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;an event attribute field&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;costValueAsDouble&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;whose data type was Double.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Then you could use&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;costValueAsDouble&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to perform any calculations you needed. But once cast to a Double I don't think you'll be able to revert a high precision value back to a String in order to avoid the data being represented in scientific notation. Also, using the input's inbound adapter to handle&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;costValue&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;as a String in the first place isn't going to format the string using commas to separate out the thousands portion of the value; it's just going to give you a really long string of digits.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;– RJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 18:54:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/formatting-email-notifications-in-geoevent/m-p/368714#M1566</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2019-08-02T18:54:07Z</dc:date>
    </item>
  </channel>
</rss>

