<?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 Set select_one field default if a single record returned from a map service query in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/set-select-one-field-default-if-a-single-record/m-p/1141178#M40331</link>
    <description>&lt;P&gt;I am using a &lt;STRONG&gt;search&amp;nbsp;&lt;/STRONG&gt;function in the&amp;nbsp;&lt;STRONG&gt;appearance&amp;nbsp;&lt;/STRONG&gt;column for a &lt;STRONG&gt;select_one&lt;/STRONG&gt; field to query a map service and return features where the geopoint value falls "within" the feature geometry.&lt;/P&gt;&lt;P&gt;If the query returns only one value I would like this to be set as the default value for the select_one field, so the user doesn't need to select it from the drop-down, or alternatively for the query result to be pushed to a text field.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Feb 2022 14:18:20 GMT</pubDate>
    <dc:creator>JohnGrogan1</dc:creator>
    <dc:date>2022-02-07T14:18:20Z</dc:date>
    <item>
      <title>Set select_one field default if a single record returned from a map service query</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/set-select-one-field-default-if-a-single-record/m-p/1141178#M40331</link>
      <description>&lt;P&gt;I am using a &lt;STRONG&gt;search&amp;nbsp;&lt;/STRONG&gt;function in the&amp;nbsp;&lt;STRONG&gt;appearance&amp;nbsp;&lt;/STRONG&gt;column for a &lt;STRONG&gt;select_one&lt;/STRONG&gt; field to query a map service and return features where the geopoint value falls "within" the feature geometry.&lt;/P&gt;&lt;P&gt;If the query returns only one value I would like this to be set as the default value for the select_one field, so the user doesn't need to select it from the drop-down, or alternatively for the query result to be pushed to a text field.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 14:18:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/set-select-one-field-default-if-a-single-record/m-p/1141178#M40331</guid>
      <dc:creator>JohnGrogan1</dc:creator>
      <dc:date>2022-02-07T14:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set select_one field default if a single record returned from a map service query</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/set-select-one-field-default-if-a-single-record/m-p/1142410#M40435</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/195285"&gt;@JohnGrogan1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have a pretty 'hacky' workaround to make something similar work, but it relies on the fact that there will &lt;STRONG&gt;always&lt;/STRONG&gt; be only one query result (in my case I'm returning a point in polygon and there are no overlaps in the polygons). Let me know if you think this would be useful to you and I can message you directly with the details of the workaround.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 22:25:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/set-select-one-field-default-if-a-single-record/m-p/1142410#M40435</guid>
      <dc:creator>BrettStokes</dc:creator>
      <dc:date>2022-02-09T22:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set select_one field default if a single record returned from a map service query</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/set-select-one-field-default-if-a-single-record/m-p/1142606#M40461</link>
      <description>&lt;P&gt;Thanks Brett.&amp;nbsp; I'd be interested to see the solution.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 14:08:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/set-select-one-field-default-if-a-single-record/m-p/1142606#M40461</guid>
      <dc:creator>JohnGrogan1</dc:creator>
      <dc:date>2022-02-10T14:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set select_one field default if a single record returned from a map service query</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/set-select-one-field-default-if-a-single-record/m-p/1167789#M42365</link>
      <description>&lt;P&gt;I would be interest in this as well,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4925"&gt;@BrettStokes&lt;/a&gt;&amp;nbsp;, if you don't mind.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 03:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/set-select-one-field-default-if-a-single-record/m-p/1167789#M42365</guid>
      <dc:creator>DaveFullerton</dc:creator>
      <dc:date>2022-04-26T03:36:12Z</dc:date>
    </item>
  </channel>
</rss>

