<?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() doesn't work unless using intermediary field in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-doesn-t-work-unless-using-intermediary/m-p/1366561#M53781</link>
    <description>&lt;P&gt;I tried setting calculationMode=always, but it had no affect.&lt;/P&gt;&lt;P&gt;With the exception of the &lt;EM&gt;select_one_from_file&lt;/EM&gt;, all the other fields are normally &lt;EM&gt;calculate&lt;/EM&gt;. I just had them visible for the example.&lt;/P&gt;&lt;P&gt;I may bring this one up with Esri. It is acting like an unintentional bug since everything works with an intermediary. I got frustrated with pulldata not working, so now every select_one_from_file has an extra hidden text field exclusively for this purpose (sigh).&lt;/P&gt;&lt;P&gt;EDIT. This is the finished product:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1704406275205.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90590i4DE4F1A92207471E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1704406275205.png" alt="abureaux_1-1704406275205.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2024 22:11:22 GMT</pubDate>
    <dc:creator>abureaux</dc:creator>
    <dc:date>2024-01-04T22:11:22Z</dc:date>
    <item>
      <title>pulldata() doesn't work unless using intermediary field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-doesn-t-work-unless-using-intermediary/m-p/1366522#M53778</link>
      <description>&lt;P&gt;My pulldata() works when my select_one_from_file is the same CSV as the pulldata(), but when I use a different CSV for the select_one_from_file, I need to use an intermediary field to pass along the value to pulldata().&lt;/P&gt;&lt;P&gt;Typically, I use the first method (select_one_from_file and pulldata() being the same CSV), so I am not sure if I just never noticed this before, or if this is new. This seems like a ridiculous limitation.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Using intermediary&lt;/STRONG&gt; (select_one_from_file dumps value into 'why' field, and then 'why' goes into pulldata):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1704402914558.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90572i9072D85571810897/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1704402914558.png" alt="abureaux_0-1704402914558.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1704402972718.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90573i16B3473C810B6E49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1704402972718.png" alt="abureaux_1-1704402972718.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;No intermediary&lt;/STRONG&gt; (why' field is bypassed and select_one_from_file feeds directly into pulldata):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_2-1704403038686.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90574i72557B2A867C9CE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_2-1704403038686.png" alt="abureaux_2-1704403038686.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_3-1704403060942.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90575iA53347EAF838FD31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_3-1704403060942.png" alt="abureaux_3-1704403060942.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You'd think that &lt;EM&gt;maybe&lt;/EM&gt; the select_one_from_file was returning the label instead of the name in this case for whatever reason, but I also copy-pasted the pulldata into a note and it appears that this isn't the case:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_4-1704403404698.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90576iC09761ECDC6989D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_4-1704403404698.png" alt="abureaux_4-1704403404698.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 21:23:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-doesn-t-work-unless-using-intermediary/m-p/1366522#M53778</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-01-04T21:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata() doesn't work unless using intermediary field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-doesn-t-work-unless-using-intermediary/m-p/1366547#M53780</link>
      <description>&lt;P&gt;Have seen this a few times and I think it is the order of operations.&amp;nbsp; At form load it calcs that pulldata right away or before the select_one.&amp;nbsp; Then it should catch the change but does not.&lt;/P&gt;&lt;P&gt;Two ideas.&amp;nbsp; Add the new calculation=always to pulldata so it recalcs for you.&amp;nbsp; Other is put a relevant on that pulldata so that it does not show, and thus does not fire the calc, until after your select_one is filled in.&amp;nbsp; Probably will look nicer in the form anyway.&amp;nbsp; No need to show it until the user picks a value so the flow is better.&lt;/P&gt;&lt;P&gt;Hope that does it&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 21:55:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-doesn-t-work-unless-using-intermediary/m-p/1366547#M53780</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-01-04T21:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata() doesn't work unless using intermediary field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-doesn-t-work-unless-using-intermediary/m-p/1366561#M53781</link>
      <description>&lt;P&gt;I tried setting calculationMode=always, but it had no affect.&lt;/P&gt;&lt;P&gt;With the exception of the &lt;EM&gt;select_one_from_file&lt;/EM&gt;, all the other fields are normally &lt;EM&gt;calculate&lt;/EM&gt;. I just had them visible for the example.&lt;/P&gt;&lt;P&gt;I may bring this one up with Esri. It is acting like an unintentional bug since everything works with an intermediary. I got frustrated with pulldata not working, so now every select_one_from_file has an extra hidden text field exclusively for this purpose (sigh).&lt;/P&gt;&lt;P&gt;EDIT. This is the finished product:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1704406275205.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90590i4DE4F1A92207471E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1704406275205.png" alt="abureaux_1-1704406275205.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 22:11:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-doesn-t-work-unless-using-intermediary/m-p/1366561#M53781</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-01-04T22:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata() doesn't work unless using intermediary field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-doesn-t-work-unless-using-intermediary/m-p/1366616#M53790</link>
      <description>&lt;P&gt;Did you try using a relevant?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 23:20:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-doesn-t-work-unless-using-intermediary/m-p/1366616#M53790</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-01-04T23:20:29Z</dc:date>
    </item>
  </channel>
</rss>

