<?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 Can we use ArcGIS Viewer Spatial Analysis Tools to perform Data Extraction from ArcGIS Server services? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-we-use-arcgis-viewer-spatial-analysis-tools-to/m-p/337259#M31185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was looking at implementing data extraction in an app and saw that ArcGIS Online Hosted Services already have this ability. You just need to enable the "Allow Data Export" for the feature service by editing the item's properties in your organization and you can use the Analysis Tools in ArcGIS Viewer to perform data extraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though this works well with hosted services, I am unable to get it to work with ArcGIS Server services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you enable "Data Extraction" for a hosted feature service, it enables the "Create Replica" operation on the REST endpoint of the feature service.&lt;/P&gt;&lt;P&gt;So, to enable the "Create Replica" operation on an ArcGIS Server service, I enabled the "Sync" capability on the feature service (available only from 10.2.1 onwards). However, when I add this feature service to ArcGIS Viewer and try to use the Data Extract tool in Analysis Tools,&amp;nbsp; I keep getting the message,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;SPAN style="color: #444444; text-indent: 0px;"&gt;There is no data in the map that can be extracted. Data owner(s) must first allow others to export." &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; text-indent: 0px;"&gt;Is it possible to use the Extract Data Task in ArcGIS Viewer with On-premise feature services? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; text-indent: 0px;"&gt;I'd like to use the Extract Data AMD widget in an app we are developing, but we need to support on-premise feature services too, not just hosted feature services. And I'd like to use the ArcGIS Online Spatial Analysis services instead of publishing a geoprocessing service for performing data extraction.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Aug 2014 07:22:26 GMT</pubDate>
    <dc:creator>WhereMatters</dc:creator>
    <dc:date>2014-08-19T07:22:26Z</dc:date>
    <item>
      <title>Can we use ArcGIS Viewer Spatial Analysis Tools to perform Data Extraction from ArcGIS Server services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-we-use-arcgis-viewer-spatial-analysis-tools-to/m-p/337259#M31185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was looking at implementing data extraction in an app and saw that ArcGIS Online Hosted Services already have this ability. You just need to enable the "Allow Data Export" for the feature service by editing the item's properties in your organization and you can use the Analysis Tools in ArcGIS Viewer to perform data extraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though this works well with hosted services, I am unable to get it to work with ArcGIS Server services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you enable "Data Extraction" for a hosted feature service, it enables the "Create Replica" operation on the REST endpoint of the feature service.&lt;/P&gt;&lt;P&gt;So, to enable the "Create Replica" operation on an ArcGIS Server service, I enabled the "Sync" capability on the feature service (available only from 10.2.1 onwards). However, when I add this feature service to ArcGIS Viewer and try to use the Data Extract tool in Analysis Tools,&amp;nbsp; I keep getting the message,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;SPAN style="color: #444444; text-indent: 0px;"&gt;There is no data in the map that can be extracted. Data owner(s) must first allow others to export." &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; text-indent: 0px;"&gt;Is it possible to use the Extract Data Task in ArcGIS Viewer with On-premise feature services? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; text-indent: 0px;"&gt;I'd like to use the Extract Data AMD widget in an app we are developing, but we need to support on-premise feature services too, not just hosted feature services. And I'd like to use the ArcGIS Online Spatial Analysis services instead of publishing a geoprocessing service for performing data extraction.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 07:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-we-use-arcgis-viewer-spatial-analysis-tools-to/m-p/337259#M31185</guid>
      <dc:creator>WhereMatters</dc:creator>
      <dc:date>2014-08-19T07:22:26Z</dc:date>
    </item>
  </channel>
</rss>

