<?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: Survey123 Connect PullData Compound Question in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-pulldata-compound-question/m-p/771410#M3884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the valuable follow-up.&amp;nbsp; Your instructions are perfect!&amp;nbsp; That's exactly what I needed to make it work just right.&amp;nbsp; My field crew department lead indicates there "shouldn't" be any extraneous values but your information reference to my previous posting of Phil's extract will have me covered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2019 15:30:01 GMT</pubDate>
    <dc:creator>JeffDavis7</dc:creator>
    <dc:date>2019-01-17T15:30:01Z</dc:date>
    <item>
      <title>Survey123 Connect PullData Compound Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-pulldata-compound-question/m-p/771406#M3880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have created an XLSForm called Meter Change Form (see attached) that employs the use of the pulldata function.&amp;nbsp; Thanks should go out to James Tedrick for the assist getting me that far.&lt;/P&gt;&lt;P&gt;I have a new consideration or wrinkle that I require assistance.&lt;/P&gt;&lt;P&gt;For example...currently my "pulldata" allows me to type in an old meter number and it auto-populates the corresponding Account Number, Address, Route# and Seq# values.&amp;nbsp; This is great.&lt;/P&gt;&lt;P&gt;Is it also possible to add a pulldata calculation whereby I type in the Address and it auto-populates the Old Meter Number, Account Number, Route# and Seq# if the user didn't have the old meter number handy?&lt;/P&gt;&lt;P&gt;If so...how would this need to be incorporated into my XLSForm since the calculation records corresponding to these entries are already populated with my other pulldata requests?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 16:56:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-pulldata-compound-question/m-p/771406#M3880</guid>
      <dc:creator>JeffDavis7</dc:creator>
      <dc:date>2019-01-08T16:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Connect PullData Compound Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-pulldata-compound-question/m-p/771407#M3881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for providing the XLSForm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One suggestion would be to add a &lt;EM&gt;select_one&lt;/EM&gt;&amp;nbsp;that prompts the user to specify if they have the old meter number OR the address. Based on the response, the user is prompted to enter the known&amp;nbsp;value into another question (using&amp;nbsp;&lt;EM&gt;relevant&lt;/EM&gt; to present the applicable question). Then use an if statement to calculate oldmeternum: if user enters an&amp;nbsp;old meter number, use&amp;nbsp;this&amp;nbsp;value;&amp;nbsp;otherwise use pulldata to look up the meter number using the entered address. Your&amp;nbsp;existing pulldata calculations should then work as normal. Please see an example attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not wish to store these additional questions as fields in the feature service, use the 'null' option in the bind::esri:fieldType column.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This assumes one address has only one meter, and vice versa. The pulldata function is essentially a text lookup, so the user would have to enter the address or old meter number &lt;STRONG&gt;exactly&lt;/STRONG&gt; as it appears in the CSV for it to get a match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way to ensure the old meter number or address is entered correctly would be to use &lt;EM&gt;select_one&lt;/EM&gt; for these questions using the 'autocomplete' appearance so the user can filter/select from a drop-down list. The values would have to be added to the choices tab; if you have a very long list of addresses/meter numbers this might not be practical and may affect performance, in which case an external select might be useful (see&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformcascadingselects.htm" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformcascadingselects.htm"&gt;Cascading and external selects—Survey123 for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp; for more info).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2019 04:14:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-pulldata-compound-question/m-p/771407#M3881</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2019-01-14T04:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Connect PullData Compound Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-pulldata-compound-question/m-p/771408#M3882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for replying to my posting.&amp;nbsp; Your instructions and provided example is exactly what I needed to get started. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something just occurred to me and I don't know if it is possible.&amp;nbsp; Hopefully you may be able to offer some wisdom to this postulate as well.&amp;nbsp; If it were possible to scan the barcode of the old meter and have it populate my Old Meter Number space in the form, would that also initiate the pulldata function for auto-populating the address, account number, route#, and seq#?&amp;nbsp; Or does the old meter number need be to manually added by keypad for the pulldata function to initialize?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and talk with you soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2019 14:45:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-pulldata-compound-question/m-p/771408#M3882</guid>
      <dc:creator>JeffDavis7</dc:creator>
      <dc:date>2019-01-14T14:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Connect PullData Compound Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-pulldata-compound-question/m-p/771409#M3883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff, glad you found the info helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding barcodes, as long as the string returned from the barcode matches an old meter number in your CSV it should initiate the pulldata on the other fields. Add a barcode question specifically for old meter number barcodes; then add a calculation on the old meter number question to read in the string from this&amp;nbsp;barcode question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the string returned from the barcode includes extraneous information, you can use the method &lt;A _jive_internal="true" href="https://community.esri.com/thread/226121-survey123-barcode-scanning-question?commentID=822091#comment-821393"&gt;described here&lt;/A&gt; by &lt;A href="https://community.esri.com/migrated-users/283902"&gt;Philip Wilson&lt;/A&gt;&amp;nbsp;to extract the relevant part from string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 01:23:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-pulldata-compound-question/m-p/771409#M3883</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2019-01-17T01:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Connect PullData Compound Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-pulldata-compound-question/m-p/771410#M3884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the valuable follow-up.&amp;nbsp; Your instructions are perfect!&amp;nbsp; That's exactly what I needed to make it work just right.&amp;nbsp; My field crew department lead indicates there "shouldn't" be any extraneous values but your information reference to my previous posting of Phil's extract will have me covered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 15:30:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-pulldata-compound-question/m-p/771410#M3884</guid>
      <dc:creator>JeffDavis7</dc:creator>
      <dc:date>2019-01-17T15:30:01Z</dc:date>
    </item>
  </channel>
</rss>

