<?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: Export Shape File from Web Application in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-shape-file-from-web-application/m-p/545191#M50767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;What you are wanting is technically possible, but not easy even for an experienced developer. The first challenge is that a map and it's data are two different entities. Though the&amp;nbsp;ExtractData task will get you the data that is used in a map service the map can be made up of many map services and then you add the complexity of the queried results of a layer that is added to the map as graphics that the server knows nothing about so the ExtractData task is useless for that.&amp;nbsp; Needless to say this is something you would need to hire consulting company to help you with, as a custom geoprocessing task using python is likely the best route.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2020 20:56:22 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-03-12T20:56:22Z</dc:date>
    <item>
      <title>Export Shape File from Web Application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-shape-file-from-web-application/m-p/545190#M50766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have posted about this in the past with no luck. I'm getting desperate. Here's what I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Web Application with map powered by Javascript API version 3.x. I have a ArcGIS Server with a published mxd with a set of defined layers. On the Web Application, the user can perform a data query and the web application will create a graphics layer representing the query results that is added to the map on the browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the user to be able to click and download a spatial file with the current extent of the map with all displayed layers AND the layer representing the dynamically added graphics layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple question: is this even possible? If so, can somebody give me an idea of how. I looked into ExtractData, but ran into many issues with that just trying to extract the shape file from the layers on the server. I didn't even get as far as trying to get the dynamically created layer exported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can't figure this out soon, I'm gonna take up brain surgery. I feel like that would be much easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2020 19:02:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-shape-file-from-web-application/m-p/545190#M50766</guid>
      <dc:creator>TomLewis</dc:creator>
      <dc:date>2020-03-12T19:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Export Shape File from Web Application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-shape-file-from-web-application/m-p/545191#M50767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;What you are wanting is technically possible, but not easy even for an experienced developer. The first challenge is that a map and it's data are two different entities. Though the&amp;nbsp;ExtractData task will get you the data that is used in a map service the map can be made up of many map services and then you add the complexity of the queried results of a layer that is added to the map as graphics that the server knows nothing about so the ExtractData task is useless for that.&amp;nbsp; Needless to say this is something you would need to hire consulting company to help you with, as a custom geoprocessing task using python is likely the best route.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2020 20:56:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-shape-file-from-web-application/m-p/545191#M50767</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-03-12T20:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Export Shape File from Web Application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-shape-file-from-web-application/m-p/545192#M50768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a very experienced programmer (more than 30 years) I couldn't agree with you more. I have the capability of writing python scripts and all the javascript needed for this, I just don't have a clue where to begin. I actually have a pretty simple map with a single map service and the graphics being created is based on a simple point layer in the map service. But, I'm not going to tackle this. I'm going to suggest to the customer that she hire a GIS consultant to accomplish this task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the info. It helped!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2020 13:57:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-shape-file-from-web-application/m-p/545192#M50768</guid>
      <dc:creator>TomLewis</dc:creator>
      <dc:date>2020-03-13T13:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Export Shape File from Web Application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-shape-file-from-web-application/m-p/545193#M50769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/41047"&gt;Tom Lewis&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might want to interest in looking into this one&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems from your enterprise portal rest end point you can export the shapefile, from js api 3.x , it should be able to call post request.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2020 14:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-shape-file-from-web-application/m-p/545193#M50769</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-03-13T14:39:42Z</dc:date>
    </item>
  </channel>
</rss>

