<?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: Importing a CSV table to Survey123 form in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/importing-a-csv-table-to-survey123-form/m-p/875817#M29212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, you have several options here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add your csv as a feature layer and then create a survey based on the existing Feature Service.&amp;nbsp; This will require you enabling the inbox and editing from there.&amp;nbsp; If you want to use the pull data function that will work as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your problem with the pull data is you are trying to pull all the data in one field.&amp;nbsp; It doesn't do that.&amp;nbsp; So, rather than that you need to make a few changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, your calculation won't work as you are trying to use the label and not the name in your csv file.&amp;nbsp; You need the asset_type in your csv to be the same as the name column in your csv.&amp;nbsp; Otherwise it will never find a match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second for each row in your xls where you want to pull data you need a separate pulldata calculation in the calculation column .&amp;nbsp; For example the calculation for the city row would be pulldata('assets_from_excel', 'city', 'asset_type', ${asset_type}).&amp;nbsp;The type of question can remain a text row but I would question if this is what you want.&amp;nbsp; Do you want them to be able to write over what is pulled from the csv?&amp;nbsp; If not you need to consider setting the question as read only or changing it to a calculation type with a note type following showing the value or simply as a note type where the data would then not be stored in the table.&amp;nbsp; It can get quite convoluted (which is due to the power of Survey123) but it becomes really important to think about why you are pulling the information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, if you have 100s of records do they all have the same city, zip coce, address... It looks like you may be pulling data too early.&amp;nbsp; Do you maybe need a csv of churches etc? and be pulling data based on the asset_name instead?&amp;nbsp; Just a thought.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Oct 2018 08:53:57 GMT</pubDate>
    <dc:creator>IngridAldridge1</dc:creator>
    <dc:date>2018-10-22T08:53:57Z</dc:date>
    <item>
      <title>Importing a CSV table to Survey123 form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/importing-a-csv-table-to-survey123-form/m-p/875815#M29210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I am new to Survey123. I would like to import a CSV table into a survey123 survey. The project is about creating a community asset map using ArcGIS hosted services using Survey123. I learned how to create a survey form, but I would have to insert hundreds of records manually if I decide to add them one at a time. Also my table has longitude and latitude columns, is there a way I can set those two columns and have it as a set GPS point for my form?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I tried inserting my table into the survey media folder and then use pulldata functions to insert my data into the survey form. But, I think I am doing it wrong and I can't figure out how to set the my coordinate columns into a geopoint.&amp;nbsp; Any help will be highly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="csv_data" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/424896_geonet1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I have been able to do so far, but the csv data is not linking with the survey form&lt;/P&gt;&lt;P&gt;&lt;IMG alt="geonet2" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/424897_geonet2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-image" height="434" src="https://community.esri.com/legacyfs/online/424937_geonet3.png" width="365" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Oct 2018 21:56:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/importing-a-csv-table-to-survey123-form/m-p/875815#M29210</guid>
      <dc:creator>CristianLa_Rosa1</dc:creator>
      <dc:date>2018-10-20T21:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a CSV table to Survey123 form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/importing-a-csv-table-to-survey123-form/m-p/875816#M29211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cristian,&lt;/P&gt;&lt;P&gt;not very clear what you have in mind...&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;I would have to insert hundreds of records manually if I decide to add them one at a time...&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thers is no need to insert your assets manually...if you have your assets in that CSV file, you can add to ArcGIS Online (&lt;A href="https://learn.arcgis.com/en/projects/get-started-with-map-viewer/arcgis-online/lessons/add-a-layer-from-a-csv-file.htm#ESRI_SECTION1_C73C4680FD6846A399FDBDBEC883ECE6" title="https://learn.arcgis.com/en/projects/get-started-with-map-viewer/arcgis-online/lessons/add-a-layer-from-a-csv-file.htm#ESRI_SECTION1_C73C4680FD6846A399FDBDBEC883ECE6"&gt;Add a layer from a CSV file—Get Started with Map Viewer | ArcGIS&lt;/A&gt;&amp;nbsp;) so you have points from Lat-Lon coordinate.&lt;/P&gt;&lt;P&gt;And then made a survey from this Feature Service Hosted (&lt;A href="https://community.esri.com/groups/survey123/blog/2017/09/25/working-with-existing-feature-services-in-survey123-for-arcgis"&gt;https://community.esri.com/groups/survey123/blog/2017/09/25/working-with-existing-feature-services-in-survey123-for-arcgis&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;Maybe take a look also here: &lt;A class="link-titled" href="https://learn.arcgis.com/en/paths/try-survey123/" title="https://learn.arcgis.com/en/paths/try-survey123/"&gt;Learn ArcGIS | Try Survey123 Path&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 07:45:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/importing-a-csv-table-to-survey123-form/m-p/875816#M29211</guid>
      <dc:creator>SMauri</dc:creator>
      <dc:date>2018-10-22T07:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a CSV table to Survey123 form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/importing-a-csv-table-to-survey123-form/m-p/875817#M29212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, you have several options here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add your csv as a feature layer and then create a survey based on the existing Feature Service.&amp;nbsp; This will require you enabling the inbox and editing from there.&amp;nbsp; If you want to use the pull data function that will work as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your problem with the pull data is you are trying to pull all the data in one field.&amp;nbsp; It doesn't do that.&amp;nbsp; So, rather than that you need to make a few changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, your calculation won't work as you are trying to use the label and not the name in your csv file.&amp;nbsp; You need the asset_type in your csv to be the same as the name column in your csv.&amp;nbsp; Otherwise it will never find a match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second for each row in your xls where you want to pull data you need a separate pulldata calculation in the calculation column .&amp;nbsp; For example the calculation for the city row would be pulldata('assets_from_excel', 'city', 'asset_type', ${asset_type}).&amp;nbsp;The type of question can remain a text row but I would question if this is what you want.&amp;nbsp; Do you want them to be able to write over what is pulled from the csv?&amp;nbsp; If not you need to consider setting the question as read only or changing it to a calculation type with a note type following showing the value or simply as a note type where the data would then not be stored in the table.&amp;nbsp; It can get quite convoluted (which is due to the power of Survey123) but it becomes really important to think about why you are pulling the information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, if you have 100s of records do they all have the same city, zip coce, address... It looks like you may be pulling data too early.&amp;nbsp; Do you maybe need a csv of churches etc? and be pulling data based on the asset_name instead?&amp;nbsp; Just a thought.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 08:53:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/importing-a-csv-table-to-survey123-form/m-p/875817#M29212</guid>
      <dc:creator>IngridAldridge1</dc:creator>
      <dc:date>2018-10-22T08:53:57Z</dc:date>
    </item>
  </channel>
</rss>

