<?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: pulldata function not working with external_choices in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-function-not-working-with-external/m-p/794430#M9074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have figured out my issue. I just switched over from using the premise UID to just the address.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I attempted to use the int(), string(), and number() functions on the Premise UID but those didn't work. Altering the link to be the Address (and thus just a string) seems to work wonders.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Apr 2017 15:54:51 GMT</pubDate>
    <dc:creator>ErickWiggs2</dc:creator>
    <dc:date>2017-04-24T15:54:51Z</dc:date>
    <item>
      <title>pulldata function not working with external_choices</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-function-not-working-with-external/m-p/794429#M9073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Howdy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the pulldata function to autopopulate my survey based on an external_choices return.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have set up the external&amp;nbsp;select as a cascade based on a field in the choices tab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/347818_pastedImage_1.png" style="width: 620px; height: 47px;" /&gt;&lt;/P&gt;&lt;P&gt;As you can see here, once the Zone is chosen, it will give back those addresses within the zone.&lt;/P&gt;&lt;P&gt;The external_choices table is set up with the name = a UID for the label = address. For example:&lt;BR /&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/347837_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;What I am attempting to do further into the survey is auto-populate coordinates via the pulldata function based on the name UID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;pulldata('MLGW_AreaA','X','Premise',${PREM_CODE})&lt;BR /&gt;pulldata('MLGW_AreaA','Y','Premise',${PREM_CODE})&lt;BR /&gt;where the file name is MLGW_AreaA and the file looks like this:&lt;BR /&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/347838_pastedImage_3.png" style="width: 620px; height: 56px;" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;all of this should work. but it is not.&lt;BR /&gt;I have attempted to change the field it's pulling the data from to both the Premise and the Address fields, but nada.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should state that I am using vers. 2.0.29&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any suggestions??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 14:54:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-function-not-working-with-external/m-p/794429#M9073</guid>
      <dc:creator>ErickWiggs2</dc:creator>
      <dc:date>2017-04-24T14:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata function not working with external_choices</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-function-not-working-with-external/m-p/794430#M9074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have figured out my issue. I just switched over from using the premise UID to just the address.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I attempted to use the int(), string(), and number() functions on the Premise UID but those didn't work. Altering the link to be the Address (and thus just a string) seems to work wonders.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 15:54:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-function-not-working-with-external/m-p/794430#M9074</guid>
      <dc:creator>ErickWiggs2</dc:creator>
      <dc:date>2017-04-24T15:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata function not working with external_choices</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-function-not-working-with-external/m-p/794431#M9075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you point out, the issue is probably a text conversion - you may want to try explicitly setting the name values in your choice list to text in the Excel sheet (by default, they're saved as numbers).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 17:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-function-not-working-with-external/m-p/794431#M9075</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-04-24T17:36:10Z</dc:date>
    </item>
  </channel>
</rss>

