<?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: How do I get variable substitution to work? in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137523#M603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Craig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem was my geoevent definitions. For my poll in, I was referencing the wrong definition. In addition to that, I recommend double checking that your geoevent definition matches your field names in your service. Then, I would check that the casing of your variables in your email template match the geoevent&amp;nbsp;definition. Finally, switching the email format to http&amp;nbsp;if it isn't already may help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2017 00:20:39 GMT</pubDate>
    <dc:creator>JosephMarsh1</dc:creator>
    <dc:date>2017-12-20T00:20:39Z</dc:date>
    <item>
      <title>How do I get variable substitution to work?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137517#M597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Dear Geoevent team,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I am having issues with&amp;nbsp;variable substitution inside Geoevent. I am using Geoevent to read an Automated Vehicle Location(AVL) simulation in AGOL. Then, I am using a filter to&amp;nbsp;select a vehicle whenever it enters within the buffer of another point feature, hazards.&amp;nbsp; I want to send an AWS email whenever a vehicle crosses into one of these hazard areas.&amp;nbsp;Whenever I try to use ${Email}, and then I put my email in the FS attribute, I don’t receive any emails. If I hardcode my email into the geoevent Email Recipients fields, then I do get an email.&amp;nbsp;&amp;nbsp;Also, the variables I have in the message body i.e. ${Vehicle_ID}, &lt;SPAN&gt;${Driver}, ${Time_Stamp} or ${Speed}&amp;nbsp;&lt;/SPAN&gt;don't read either. Instead, they print 'white space' in the email.&lt;IMG alt="" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/381911_emailout.JPG" /&gt;&amp;nbsp;The email is filled with White Space wherever there was a variable substitution.&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/381910_email.PNG" /&gt; I have checked the syntax for fields match those in the REST endpoint.&amp;nbsp; &amp;nbsp;Is there something I am missing? My goal is to have somebody change the Email field in the AVL FS to their email so that they will receive an email when that truck enters a buffer. I want the email to contain variable substitutions letting the user know their speed, id number, and time of event.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Thanks for your time,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Joseph Marsh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 19:20:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137517#M597</guid>
      <dc:creator>JosephMarsh1</dc:creator>
      <dc:date>2017-10-31T19:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get variable substitution to work?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137518#M598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using 10.5.1, 10.5, 10.4.1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, do the variables here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;${Vehicle_ID},&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14.6667px;"&gt;${Driver}, ${Time_Stamp} or ${Speed}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14.6667px;"&gt;match your field schema in the output geoevent definition exactly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14.6667px;"&gt;Check your geoevent definition -- are the field names all lower case, all caps?&amp;nbsp; My experience with not passing variables properly, even if the rest endpoint has fields one way, it needs to match the geoevent definition fields.&amp;nbsp; I typically setup my definitions to match the rest endpoints exactly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14.6667px;"&gt;~Alex&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 16:39:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137518#M598</guid>
      <dc:creator>AlexanderBrown5</dc:creator>
      <dc:date>2017-11-01T16:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get variable substitution to work?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137519#M599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Alex, We are on 10.5.1.&amp;nbsp; The input geoevent definition matches the variables with Proper Case. I don't have an output geoevent definition for the AWS Email out. Here is a view of my input geoevent definition.&lt;IMG alt="" class="image-1 jive-image" src="/legacyfs/online/382264_Input Definition.JPG" style="width: 767px; height: 298px;" /&gt;&lt;/P&gt;&lt;P&gt;Here&amp;nbsp;are views&amp;nbsp;of my Geoevent Service. The first shows the input details.&amp;nbsp;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/382289_inputdetailsService.JPG" style="width: 620px; height: 457px;" /&gt;&lt;/P&gt;&lt;P&gt;The second shows the output details&amp;nbsp;&lt;IMG alt="" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/382328_outputdetailsService.JPG" style="width: 811px; height: 274px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 20:02:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137519#M599</guid>
      <dc:creator>JosephMarsh1</dc:creator>
      <dc:date>2017-11-01T20:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get variable substitution to work?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137520#M600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also have this error log message related to it.&amp;nbsp;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/383153_pastedImage_1.png" style="width: 924px; height: 193px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 20:46:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137520#M600</guid>
      <dc:creator>JosephMarsh1</dc:creator>
      <dc:date>2017-11-09T20:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get variable substitution to work?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137521#M601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have resolved the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time and help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 17:26:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137521#M601</guid>
      <dc:creator>JosephMarsh1</dc:creator>
      <dc:date>2017-11-13T17:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get variable substitution to work?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137522#M602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're having the same issue with variable substitution.&amp;nbsp; What was your solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 17:34:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137522#M602</guid>
      <dc:creator>CraigCarsley</dc:creator>
      <dc:date>2017-12-15T17:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get variable substitution to work?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137523#M603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Craig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem was my geoevent definitions. For my poll in, I was referencing the wrong definition. In addition to that, I recommend double checking that your geoevent definition matches your field names in your service. Then, I would check that the casing of your variables in your email template match the geoevent&amp;nbsp;definition. Finally, switching the email format to http&amp;nbsp;if it isn't already may help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 00:20:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-do-i-get-variable-substitution-to-work/m-p/137523#M603</guid>
      <dc:creator>JosephMarsh1</dc:creator>
      <dc:date>2017-12-20T00:20:39Z</dc:date>
    </item>
  </channel>
</rss>

