<?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: ExtractData in JS 4.x in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extractdata-in-js-4-x/m-p/1302626#M81505</link>
    <description>&lt;P&gt;It might be better to post this under the ArcGIS Enterprise community, this doesn't really fall under the JavaScript SDK.&amp;nbsp; I think it all comes down to the user's user type and role, you need to at least have a User role since it creates an item on the Portal that can be downloaded.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2023 19:34:31 GMT</pubDate>
    <dc:creator>Justin_Greco</dc:creator>
    <dc:date>2023-06-23T19:34:31Z</dc:date>
    <item>
      <title>ExtractData in JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extractdata-in-js-4-x/m-p/1302533#M81499</link>
      <description>&lt;P&gt;ArcGIS Server version 10.9.1&lt;/P&gt;&lt;P&gt;This is about the ExtractData service of the SpatialAnalysisTools&amp;nbsp; in the system folder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a standalone server, admin can allow the system folder in the ArcGIS server Manager to be accessible by everyone or select users. However, if the server is federated and then that option is not available. The only way to access the service is through tokens. That would make sense if the server is a public facing server. In my case. the server resides in an intranet environment behind a firewall. So, here is my first question. Why ESRI decides to make things complicated and not allow the option for the admin to set system folder open for everyone, if the server is not accessible by the pubic.&lt;/P&gt;&lt;P&gt;I tried to use this but it fails without tokens since the url is on a federated service. Has anyone succeeded running the ExtractData service on a federated server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;let url = "https://xxxxxx/rest/services/System/SpatialAnalysisTools/GPServer/ExtractData/submitJob"
  var options = {
    inputLayers:[{"url":layer.url, "filter":"1=1"}],
    dataFormat:"SHAPEFILE",
    outSR: 102100,
    outputName: {
      title: 'TEST'      
    }  
  }

esriRequest(
url, options).then ((response) =&amp;gt;{
  console.log(response)
})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 16:50:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extractdata-in-js-4-x/m-p/1302533#M81499</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2023-06-23T16:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: ExtractData in JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extractdata-in-js-4-x/m-p/1302555#M81501</link>
      <description>&lt;P&gt;From &lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/export-item.htm" target="_self"&gt;the documentation&lt;/A&gt;:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Available only to users with an organizational subscription. Invokable only by the service item owner or an administrator.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;I think because it creates an item. If you are only &lt;A href="https://developers.arcgis.com/python/guide/download-data/" target="_self"&gt;downloading&lt;/A&gt;, then you can do that without logging in.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 17:22:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extractdata-in-js-4-x/m-p/1302555#M81501</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2023-06-23T17:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: ExtractData in JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extractdata-in-js-4-x/m-p/1302561#M81502</link>
      <description>&lt;P&gt;Thanks but I was referring to this, extract.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/analysis/api-reference/extract-data.htm" target="_blank"&gt;https://developers.arcgis.com/rest/analysis/api-reference/extract-data.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and I use JS.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 17:30:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extractdata-in-js-4-x/m-p/1302561#M81502</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2023-06-23T17:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: ExtractData in JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extractdata-in-js-4-x/m-p/1302565#M81503</link>
      <description>&lt;P&gt;My bad. Thank you for clarifying.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 17:45:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extractdata-in-js-4-x/m-p/1302565#M81503</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2023-06-23T17:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: ExtractData in JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extractdata-in-js-4-x/m-p/1302626#M81505</link>
      <description>&lt;P&gt;It might be better to post this under the ArcGIS Enterprise community, this doesn't really fall under the JavaScript SDK.&amp;nbsp; I think it all comes down to the user's user type and role, you need to at least have a User role since it creates an item on the Portal that can be downloaded.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 19:34:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extractdata-in-js-4-x/m-p/1302626#M81505</guid>
      <dc:creator>Justin_Greco</dc:creator>
      <dc:date>2023-06-23T19:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: ExtractData in JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extractdata-in-js-4-x/m-p/1302632#M81506</link>
      <description>&lt;P&gt;I tend to disagree. This is similar to other REST service I use in my JS scripts. This is not an export item issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In version JS 3.x there is a sample in JS.&lt;/P&gt;&lt;P&gt;I can't get it working in 4.x&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/extractdata-amd.html" target="_blank"&gt;https://developers.arcgis.com/javascript/3/jsapi/extractdata-amd.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 19:43:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extractdata-in-js-4-x/m-p/1302632#M81506</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2023-06-23T19:43:20Z</dc:date>
    </item>
  </channel>
</rss>

