<?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: Calling external URL from Survey123 form in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/calling-external-url-from-survey123-form/m-p/1057017#M34546</link>
    <description>&lt;P&gt;Hi Gordon,&lt;/P&gt;&lt;P&gt;It depends on what the API returns. If it's a simple response (ie. geocoding result from a geocoder/locator for example what3words), then you can use the pulldata@ function to implement it. If the response is more complex (eg. a JSON), you need to parse that (using a JavaScript code) to be able to add the values to the required fields in your form.&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
    <pubDate>Wed, 12 May 2021 09:49:25 GMT</pubDate>
    <dc:creator>zkovacs</dc:creator>
    <dc:date>2021-05-12T09:49:25Z</dc:date>
    <item>
      <title>Calling external URL from Survey123 form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calling-external-url-from-survey123-form/m-p/1056956#M34543</link>
      <description>&lt;P&gt;I have a question about calling external URLS from ArcGIS Survey123 that I other have tried. I have been looking at the help files and community forums but cannot find any examples.&lt;/P&gt;&lt;P&gt;What I want to do is from within a Survey:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Populate a early questions in the first part of the form&lt;/LI&gt;&lt;LI&gt;Capture these answers and concatenate&amp;nbsp; them into a URL string. This URLS string is an external API from another system&lt;/LI&gt;&lt;LI&gt;Call this formed URL to the API&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Populate additional fields in the Survey123 form based on the return from the URL call&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I believe this type of request is possible from ArcGIS Survey123 but I cannot find examples. If anyone has done this sort of reach out to another system I would be interested.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 00:35:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calling-external-url-from-survey123-form/m-p/1056956#M34543</guid>
      <dc:creator>GordonSumerling</dc:creator>
      <dc:date>2021-05-12T00:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calling external URL from Survey123 form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calling-external-url-from-survey123-form/m-p/1057017#M34546</link>
      <description>&lt;P&gt;Hi Gordon,&lt;/P&gt;&lt;P&gt;It depends on what the API returns. If it's a simple response (ie. geocoding result from a geocoder/locator for example what3words), then you can use the pulldata@ function to implement it. If the response is more complex (eg. a JSON), you need to parse that (using a JavaScript code) to be able to add the values to the required fields in your form.&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 09:49:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calling-external-url-from-survey123-form/m-p/1057017#M34546</guid>
      <dc:creator>zkovacs</dc:creator>
      <dc:date>2021-05-12T09:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calling external URL from Survey123 form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calling-external-url-from-survey123-form/m-p/1057417#M34572</link>
      <description>&lt;P&gt;Thank you zkovacs, I actually found a good article by &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;after posting&amp;nbsp; this question&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/extending-survey123-smart-forms-with-custom-js-functions/ba-p/898782" target="_blank"&gt;Custom JavaScript functions in Survey123 (esri.com)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This describes what I need to do and also there is sample in the Survey123 connect which helps&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GordonSumerling_0-1620861538418.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13210iB9EDACA50CC85985/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GordonSumerling_0-1620861538418.png" alt="GordonSumerling_0-1620861538418.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;GordonSumerling_0-1620861538418.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 23:20:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calling-external-url-from-survey123-form/m-p/1057417#M34572</guid>
      <dc:creator>GordonSumerling</dc:creator>
      <dc:date>2021-05-12T23:20:10Z</dc:date>
    </item>
  </channel>
</rss>

