<?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 How to export an item properly using REST api in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-export-an-item-properly-using-rest-api/m-p/651908#M60793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all. In order to meet the requirement. I would like to load data points from our back end server and export those data points as an item (exported as a csv file) to a layer created on our Arcgis dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have follow the documentation here &lt;A class="link-titled" href="https://developers.arcgis.com/rest/users-groups-and-items/export-item.htm" title="https://developers.arcgis.com/rest/users-groups-and-items/export-item.htm"&gt;Export Item—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The given example works and a csv file does get exported to the layer that I created. However, when I download the csv file from the layer, I found it is empty, which make sense since the given demo did not do much on exporting layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screenshot of postman&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/497854_pastedImage_9.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screenshot of the downloaded csv file&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/497853_pastedImage_8.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then here comes the problem, how could I&amp;nbsp;configure the&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;exportParameters&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;so that the exported csv file would be fed with desired values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;desire csv file, uploaded by my colleague using python&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/497855_pastedImage_10.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2020 06:28:14 GMT</pubDate>
    <dc:creator>HendrikNommik1</dc:creator>
    <dc:date>2020-06-25T06:28:14Z</dc:date>
    <item>
      <title>How to export an item properly using REST api</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-export-an-item-properly-using-rest-api/m-p/651908#M60793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all. In order to meet the requirement. I would like to load data points from our back end server and export those data points as an item (exported as a csv file) to a layer created on our Arcgis dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have follow the documentation here &lt;A class="link-titled" href="https://developers.arcgis.com/rest/users-groups-and-items/export-item.htm" title="https://developers.arcgis.com/rest/users-groups-and-items/export-item.htm"&gt;Export Item—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The given example works and a csv file does get exported to the layer that I created. However, when I download the csv file from the layer, I found it is empty, which make sense since the given demo did not do much on exporting layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screenshot of postman&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/497854_pastedImage_9.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screenshot of the downloaded csv file&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/497853_pastedImage_8.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then here comes the problem, how could I&amp;nbsp;configure the&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;exportParameters&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;so that the exported csv file would be fed with desired values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;desire csv file, uploaded by my colleague using python&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/497855_pastedImage_10.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 06:28:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-export-an-item-properly-using-rest-api/m-p/651908#M60793</guid>
      <dc:creator>HendrikNommik1</dc:creator>
      <dc:date>2020-06-25T06:28:14Z</dc:date>
    </item>
  </channel>
</rss>

