<?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: Query data from separate feature service in Survey123 in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789841#M8029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, if you publish it as a hosted table, you should be able to query it via a custom JS function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Aug 2020 23:54:19 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-08-17T23:54:19Z</dc:date>
    <item>
      <title>Query data from separate feature service in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789834#M8022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a Survey123 form for vehicle inspections. Vehicle data is kept separately (manufacturer, model, etc.) in another corporate application, which we can query into a feature class/service. Each vehicle is identified in our system by an ID (eg. AF123).&lt;/P&gt;&lt;P&gt;What I would like to accomplish is when doing a vehicle inspection using Survey123 and the ID is entered, the separate feature service is queried to bring in vehicle details.&lt;/P&gt;&lt;P&gt;I have read that this is possible using pulldata() and/or javascript but have been unable to find an example. I am proficient in javascript.&lt;/P&gt;&lt;P&gt;Does anyone have an example they are willing to share? I am using the latest release candidate of Survey123.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 22:15:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789834#M8022</guid>
      <dc:creator>AdrianDoss</dc:creator>
      <dc:date>2020-07-29T22:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Query data from separate feature service in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789835#M8023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the best way to achieve this is using pulldata @ javascript. There is a VIN Lookup example in the &lt;A href="https://earlyadopter.esri.com/project/home.html?cap=%7BE69EF91F-4574-4B98-882C-651F7B518EB7%7D"&gt;Early Adopter Community&lt;/A&gt;&amp;nbsp;attached to the &lt;A href="https://earlyadopter.esri.com/project/article/item.html?cap=e69ef91f45744b98882c651f7b518eb7&amp;amp;arttypeid={5a8e51ed-4a87-43fe-a67d-2b7829af130f}&amp;amp;artid={4954218E-10B7-49BB-9EAC-79CCAF7169D0}"&gt;JavaScript documentation&lt;/A&gt; about how this has been done. With the 3.10 release due for release later this week,&amp;nbsp;&lt;SPAN&gt;pulldata @ javascript will be fully supported in Connect, the field app and the web app.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Phil.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2020 01:08:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789835#M8023</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-08-05T01:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Query data from separate feature service in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789836#M8024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil&lt;/P&gt;&lt;P&gt;I have a use case where I have a Survey123 based on a feature service. The form is for pre-start checks on&amp;nbsp;vehicles. I want to pull vehicle data from a non-spatial table hosted in our portal. Is there something analogous to feature services for non-spatial table data? And can I query it via pulldata()?&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2020 04:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789836#M8024</guid>
      <dc:creator>AdrianDoss</dc:creator>
      <dc:date>2020-08-13T04:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Query data from separate feature service in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789837#M8025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, using a custom JS function you should be able to query your&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;non-spatial table hosted in&amp;nbsp;your portal to return the needed values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Phil.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 00:15:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789837#M8025</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-08-14T00:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Query data from separate feature service in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789838#M8026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Phil. So I can publish a table from an mxd in ArcMap / ArcGis Desktop as a service just as I would a feature class?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 02:39:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789838#M8026</guid>
      <dc:creator>AdrianDoss</dc:creator>
      <dc:date>2020-08-14T02:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Query data from separate feature service in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789839#M8027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean to use the table you publish from &lt;SPAN style="background-color: #ffffff;"&gt;ArcMap / ArcGIS Desktop as a service&amp;nbsp;&lt;/SPAN&gt;to query? Yes, if you can&amp;nbsp;write a custom JS function (you will need to write your own code to that and ensure the table is accessible and you have credentials etc) and can access that database and table on same network, you should be able to return the values from the table query, and pass them back into the survey form using pulldata @ JS into a text box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 02:47:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789839#M8027</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-08-14T02:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Query data from separate feature service in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789840#M8028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's right, I want to publish it as a service. I thought services had to be a spatial layer, but I think you can publish a hosted table? I think that's the terminology.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 03:14:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789840#M8028</guid>
      <dc:creator>AdrianDoss</dc:creator>
      <dc:date>2020-08-14T03:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Query data from separate feature service in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789841#M8029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, if you publish it as a hosted table, you should be able to query it via a custom JS function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2020 23:54:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/789841#M8029</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-08-17T23:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Query data from separate feature service in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/1032590#M32919</link>
      <description>&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;Just checking if it's possible to query via a custom JS function a layer which sits on our GIS server - not hosted on Portal?&lt;/P&gt;&lt;P&gt;Harmond&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 19:56:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/1032590#M32919</guid>
      <dc:creator>HarmondSantos1</dc:creator>
      <dc:date>2021-03-03T19:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Query data from separate feature service in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/1072493#M35525</link>
      <description>&lt;P&gt;Hi Philip, is there perhaps a workaround if your survey needs to be public? Recently found out that public survey does not support javascript.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 09:59:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/1072493#M35525</guid>
      <dc:creator>LieslDe_Swardt1</dc:creator>
      <dc:date>2021-06-25T09:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Query data from separate feature service in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/1073050#M35576</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/408651"&gt;@LieslDe_Swardt1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;No, JavaScript functions are not supported on public surveys (when a user is not signed in) due to security precautions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 00:45:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/1073050#M35576</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-06-28T00:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Query data from separate feature service in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/1087866#M36418</link>
      <description>&lt;P&gt;I'd like to follow up on this topic.&amp;nbsp; I have a Survey123 and want to query another layer in the map.&amp;nbsp; For example, Users enter their zip code and it queries another service in the map and filters to return a list of addresses based on the zip code.&amp;nbsp; Both feature services update daily.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an example of doing this with a public services?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 12:48:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/query-data-from-separate-feature-service-in/m-p/1087866#M36418</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-08-11T12:48:49Z</dc:date>
    </item>
  </channel>
</rss>

