<?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 Pull Data from Feature service, basemap in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-from-feature-service-basemap/m-p/1025818#M32422</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Is it possible to populate questions from attributes from a map in survey123?&lt;/P&gt;&lt;P&gt;for example, I have a basemap with a feature layer that has some company data. When a person collects a sample, can it read attributes from the basemap / layer to populate some questions?&lt;/P&gt;&lt;P&gt;The basemap has a layer with : PROJECT, LOT_ID field.&lt;/P&gt;&lt;P&gt;If the survey collection point lands within the polygon can it grab the PROJECT &amp;amp; LOT_ID metadata fields?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2021 13:35:58 GMT</pubDate>
    <dc:creator>TimDunlevie2</dc:creator>
    <dc:date>2021-02-11T13:35:58Z</dc:date>
    <item>
      <title>Pull Data from Feature service, basemap</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-from-feature-service-basemap/m-p/1025818#M32422</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Is it possible to populate questions from attributes from a map in survey123?&lt;/P&gt;&lt;P&gt;for example, I have a basemap with a feature layer that has some company data. When a person collects a sample, can it read attributes from the basemap / layer to populate some questions?&lt;/P&gt;&lt;P&gt;The basemap has a layer with : PROJECT, LOT_ID field.&lt;/P&gt;&lt;P&gt;If the survey collection point lands within the polygon can it grab the PROJECT &amp;amp; LOT_ID metadata fields?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 13:35:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-from-feature-service-basemap/m-p/1025818#M32422</guid>
      <dc:creator>TimDunlevie2</dc:creator>
      <dc:date>2021-02-11T13:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pull Data from Feature service, basemap</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-from-feature-service-basemap/m-p/1026974#M32485</link>
      <description>&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;While basemaps in Survey123 are not 'interactive', they can be setup to display additional layers. Yes, it is possible to populate attributes directly from a feature layer using a JavaScript function. I would suggest taking a look at the 'JavaScript' sample available in Survey123 Connect.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrettStokes_0-1613424632276.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6071i3074E56CD9ACB1BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrettStokes_0-1613424632276.png" alt="BrettStokes_0-1613424632276.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There is a group in this sample called 'Working with a Feature Service' that will help you get started. Also check out the 'Working with web services' section in the following Blog:&lt;/P&gt;&lt;P&gt;&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;https://community.esri.com/t5/arcgis-survey123-blog/extending-survey123-smart-forms-with-custom-js-functions/ba-p/898782&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 21:37:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-from-feature-service-basemap/m-p/1026974#M32485</guid>
      <dc:creator>BrettStokes</dc:creator>
      <dc:date>2021-02-15T21:37:16Z</dc:date>
    </item>
  </channel>
</rss>

