<?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: Show custom message in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/show-custom-message/m-p/1274847#M5676</link>
    <description>&lt;P&gt;Yes I do this a lot for our field data.&amp;nbsp; I actually tell them if they got all 12 forms done or not.&amp;nbsp; I can even do pattern matching so that it makes sure they did 1,2,3 not 2,2,3 for example.&amp;nbsp; I then use red to make it pop.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1680545751473.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67104iFF270A7DEE72D372/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1680545751473.png" alt="DougBrowning_0-1680545751473.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All done with FeatureSet j&lt;SPAN&gt;ust run a query like this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;var EvaluationID = Concatenate($feature.PointID, "_", text($feature.FieldEvalDate, "Y-MM-DD"))&lt;BR /&gt;var sql = "EvaluationID = '" + EvaluationID + "'";&lt;BR /&gt;var tbl = Filter(FeatureSetByName($map,"Water Quality and Macroinvertebrates", ['EvaluationID'], false), sql);&lt;/P&gt;&lt;P&gt;if (count(tbl) &amp;gt; 1) {&lt;BR /&gt;return "More than one form found"&lt;BR /&gt;}&lt;BR /&gt;else if (count(tbl) &amp;lt; 1) {&lt;BR /&gt;return "No forms found"&lt;BR /&gt;}&lt;BR /&gt;else {&lt;BR /&gt;return "1"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 18:19:06 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2023-04-03T18:19:06Z</dc:date>
    <item>
      <title>Show custom message</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/show-custom-message/m-p/1274720#M5675</link>
      <description>&lt;P&gt;Is it possible to use Arcade to show a custom message once a feature is selected in the map?&amp;nbsp; For example, from the feature selected, I would like to show a message that indicates if there is any outstanding work that needs to be done (based on some business lgoic that would look at the related inspection records for that feature).&lt;/P&gt;&lt;P&gt;We are currently using ArcPad to do this, but with transitioning to Field Maps we are trying to replicate as much functionality as possible.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 15:12:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/show-custom-message/m-p/1274720#M5675</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2023-04-03T15:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Show custom message</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/show-custom-message/m-p/1274847#M5676</link>
      <description>&lt;P&gt;Yes I do this a lot for our field data.&amp;nbsp; I actually tell them if they got all 12 forms done or not.&amp;nbsp; I can even do pattern matching so that it makes sure they did 1,2,3 not 2,2,3 for example.&amp;nbsp; I then use red to make it pop.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1680545751473.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67104iFF270A7DEE72D372/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1680545751473.png" alt="DougBrowning_0-1680545751473.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All done with FeatureSet j&lt;SPAN&gt;ust run a query like this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;var EvaluationID = Concatenate($feature.PointID, "_", text($feature.FieldEvalDate, "Y-MM-DD"))&lt;BR /&gt;var sql = "EvaluationID = '" + EvaluationID + "'";&lt;BR /&gt;var tbl = Filter(FeatureSetByName($map,"Water Quality and Macroinvertebrates", ['EvaluationID'], false), sql);&lt;/P&gt;&lt;P&gt;if (count(tbl) &amp;gt; 1) {&lt;BR /&gt;return "More than one form found"&lt;BR /&gt;}&lt;BR /&gt;else if (count(tbl) &amp;lt; 1) {&lt;BR /&gt;return "No forms found"&lt;BR /&gt;}&lt;BR /&gt;else {&lt;BR /&gt;return "1"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 18:19:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/show-custom-message/m-p/1274847#M5676</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-04-03T18:19:06Z</dc:date>
    </item>
  </channel>
</rss>

