<?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: Need help with  the correct pulldata(@json) syntax in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/need-help-with-the-correct-pulldata-json-syntax/m-p/1317556#M51113</link>
    <description>&lt;P&gt;For posterity, I've been able to solve my problem by accessing the index of the JSON for which my parameters reside. Since the 3.0 API is shaped differently than the the previous version, you must include the index of the list then the parameter. e.g. -&lt;BR /&gt;To access the Weather - Main parameter:&amp;nbsp;&lt;/P&gt;&lt;TABLE width="528px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="527px"&gt;pulldata("@json", ${weather_json}, "data[0].weather[0].main")&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps anybody who runs into the same problem I had!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2023 18:28:58 GMT</pubDate>
    <dc:creator>MFazio</dc:creator>
    <dc:date>2023-08-10T18:28:58Z</dc:date>
    <item>
      <title>Need help with  the correct pulldata(@json) syntax</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/need-help-with-the-correct-pulldata-json-syntax/m-p/1317097#M51092</link>
      <description>&lt;P&gt;I have an API call the returns weather data in the following JSON object:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MFazio_0-1691608837653.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77709i992D511A1F75B565/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MFazio_0-1691608837653.png" alt="MFazio_0-1691608837653.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attempting to auto populate 4 fields using the "temp", "wind_speed", "wind_deg", and "weather - description" attributes. I have tried many different iterations and none of them have successfully populated the fields. Here are examples that I have tried:&lt;/P&gt;&lt;P&gt;For the first 3 attributes I've tried:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pulldata("@json", ${weather_json}, "data.temp")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pulldata("@json", ${weather_json}, "data.[temp]")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pulldata("@json", ${weather_json}, "data[temp]")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the "Weather Description", I've tried:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;pulldata("@json", ${weather_json}, "data.weather[description]")&lt;/P&gt;&lt;P&gt;pulldata("@json", ${weather_json}, "data.weather.description")&lt;/P&gt;&lt;P&gt;pulldata("@json", ${weather_json}, "data.[weather.description]")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are all of these iterations wrong? I know I am successfully getting a JSON response because I have a multiline text field that populates for development purposes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MFazio_1-1691609147463.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77711i2E38B17E9D9B0354/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MFazio_1-1691609147463.png" alt="MFazio_1-1691609147463.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any helps or suggestions would be appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mike F.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 19:26:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/need-help-with-the-correct-pulldata-json-syntax/m-p/1317097#M51092</guid>
      <dc:creator>MFazio</dc:creator>
      <dc:date>2023-08-09T19:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with  the correct pulldata(@json) syntax</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/need-help-with-the-correct-pulldata-json-syntax/m-p/1317556#M51113</link>
      <description>&lt;P&gt;For posterity, I've been able to solve my problem by accessing the index of the JSON for which my parameters reside. Since the 3.0 API is shaped differently than the the previous version, you must include the index of the list then the parameter. e.g. -&lt;BR /&gt;To access the Weather - Main parameter:&amp;nbsp;&lt;/P&gt;&lt;TABLE width="528px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="527px"&gt;pulldata("@json", ${weather_json}, "data[0].weather[0].main")&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps anybody who runs into the same problem I had!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 18:28:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/need-help-with-the-correct-pulldata-json-syntax/m-p/1317556#M51113</guid>
      <dc:creator>MFazio</dc:creator>
      <dc:date>2023-08-10T18:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with  the correct pulldata(@json) syntax</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/need-help-with-the-correct-pulldata-json-syntax/m-p/1323515#M51445</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LauraAlejandraMerchanLeon_1-1693323883766.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79394i55EBDBF2C1FFD7FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LauraAlejandraMerchanLeon_1-1693323883766.png" alt="LauraAlejandraMerchanLeon_1-1693323883766.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have the same problem, but I can't solve it. :c Can you help me?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 15:44:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/need-help-with-the-correct-pulldata-json-syntax/m-p/1323515#M51445</guid>
      <dc:creator>laura1719981</dc:creator>
      <dc:date>2023-08-29T15:44:51Z</dc:date>
    </item>
  </channel>
</rss>

