<?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: Extract Data Widget does not work in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631274#M18715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm not able to select the layers at Data Extract Widget. Although I've setted the "layers to clip" on the model the "choice list" on rest appear empty.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Is your&amp;nbsp; geoprocessing service&amp;nbsp; published as asynchronous?&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Does your geoprocessing service&amp;nbsp; expose at least the following three input parameters (with these exact names): Area_of_Interest, LLayers_to_Clip, Feature_Format.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;From See &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Data_Extract_widget/01m300000039000000/"&gt;http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Data_Extract_widget/01m300000039000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Sep 2012 21:03:45 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2012-09-14T21:03:45Z</dc:date>
    <item>
      <title>Extract Data Widget does not work</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631268#M18709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; When I try to use the Extract Data widget, I get a zipped file that has the necessary .dwg file but&amp;nbsp; the drawing is empty when I open it in AutoCAD. Same thing happens if I extract to an ESRI shapefile. Does this widget require ArcGIS Server 10? I'm currently using 9.3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Billy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 19:04:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631268#M18709</guid>
      <dc:creator>City_of_Port_Angeles_GIS</dc:creator>
      <dc:date>2011-02-15T19:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Data Widget does not work</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631269#M18710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, ArcGIS Server 10 is required.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 18:49:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631269#M18710</guid>
      <dc:creator>JonFisher</dc:creator>
      <dc:date>2011-02-16T18:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Data Widget does not work</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631270#M18711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Billy, if you get a zip file then your data extract widget is most likely pointing to a 10 server.&amp;nbsp; If the file is empty, my first guess would be that there was no data to extract where you tried it.&amp;nbsp; Try zooming out to the whole world (or whatever area you "know" has the data to be extracted).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To extract data from your own service, yes you will need ArcGIS Server 10, because the widget works with a "Clip and Ship" geoprocessing service that was new in "10".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The documentation has more details on the Data Extract widget:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#widgets/dataextract_widget.htm"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/index.html#widgets/dataextract_widget.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 19:07:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631270#M18711</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2011-02-16T19:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Data Widget does not work</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631271#M18712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bjorn and Jon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Thanks for the reply. Unfortunately, we can't upgrade to Server 10 until City Works does. Oh well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When we do, this would be a very handy widget. Thanks again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Billy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 16:01:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631271#M18712</guid>
      <dc:creator>City_of_Port_Angeles_GIS</dc:creator>
      <dc:date>2011-02-18T16:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Data Widget does not work</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631273#M18714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not able to select the layers at Data Extract Widget. Although I've setted the "layers to clip" on the model the "choice list" on rest appear empty. Thus the widget window dont show any layer to check.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 20:54:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631273#M18714</guid>
      <dc:creator>JeffersonFerreira_Ferreira</dc:creator>
      <dc:date>2012-09-14T20:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Data Widget does not work</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631274#M18715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm not able to select the layers at Data Extract Widget. Although I've setted the "layers to clip" on the model the "choice list" on rest appear empty.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Is your&amp;nbsp; geoprocessing service&amp;nbsp; published as asynchronous?&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Does your geoprocessing service&amp;nbsp; expose at least the following three input parameters (with these exact names): Area_of_Interest, LLayers_to_Clip, Feature_Format.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;From See &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Data_Extract_widget/01m300000039000000/"&gt;http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Data_Extract_widget/01m300000039000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 21:03:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631274#M18715</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2012-09-14T21:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Data Widget does not work</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631275#M18716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Is your&amp;nbsp; geoprocessing service&amp;nbsp; published as asynchronous?&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Does your geoprocessing service&amp;nbsp; expose at least the following three input parameters (with these exact names): Area_of_Interest, LLayers_to_Clip, Feature_Format.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Bjorn and others colleagues;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The answer for your two questions is yes. I tried a lot of parameters combinations but with no success. I see that others have in Layers_to_Clip at rest a "Choice List" that I dont have. Now in my last try I have added only one layer to model builder parameter (called "comunidades). Here is my rest:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Task: Extract Data Task



Display Name: Extract Data Task

Category: 

Help URL: http://lab-arcgis-10/arcgisoutput/beta/ExtractDataTask.htm

Execution Type: esriExecutionTypeAsynchronous

Parameters: 

Parameter: Area_of_Interest
Data Type: GPFeatureRecordSetLayer
Display Name: Area of Interest
Direction: esriGPParameterDirectionInput
Default Value: 
Geometry Type: esriGeometryPolygon
Spatial Reference: 
Fields:
FID (Type: esriFieldTypeOID, Alias: FID)
Shape (Type: esriFieldTypeGeometry, Alias: Shape)
Id (Type: esriFieldTypeInteger, Alias: Id)
Shape_Length (Type: esriFieldTypeDouble, Alias: Shape_Length)
Shape_Area (Type: esriFieldTypeDouble, Alias: Shape_Area)
Parameter Type: esriGPParameterTypeRequired
Category: 

Parameter: Feature_Format
Data Type: GPString
Display Name: Feature Format
Direction: esriGPParameterDirectionInput
Default Value: File Geodatabase - GDB - .gdb
Parameter Type: esriGPParameterTypeRequired
Category: 
Choice List: 
File Geodatabase - GDB - .gdb
Shapefile - SHP - .shp
Autodesk AutoCAD - DXF_R2007 - .dxf
Autodesk AutoCAD - DWG_R2007 - .dwg
Bentley Microstation Design (V8) - DGN_V8 - .dgn

Parameter: Output_Zip_File
Data Type: GPDataFile
Display Name: Output Zip File
Direction: esriGPParameterDirectionOutput
Parameter Type: esriGPParameterTypeRequired
Category: 

Parameter: Layers_to_Clip
Data Type: GPMultiValue:GPString
Display Name: Layers to Clip
Direction: esriGPParameterDirectionInput
Default Value: ComunidadesParameter Type: esriGPParameterTypeRequired
Category: 

Supported Operations:&amp;nbsp;&amp;nbsp; Submit Job 

Supported Interfaces:&amp;nbsp;&amp;nbsp; REST &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I really dont realize what could be happening...Any ideas will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:51:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631275#M18716</guid>
      <dc:creator>JeffersonFerreira_Ferreira</dc:creator>
      <dc:date>2021-12-12T02:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Data Widget does not work</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631276#M18717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Someone have an idea about the previous post?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 18:26:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631276#M18717</guid>
      <dc:creator>JeffersonFerreira_Ferreira</dc:creator>
      <dc:date>2012-09-28T18:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Data Widget does not work</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631272#M18713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to replicate the Clip and Ship Geoprocessing sample using my own data and I am having trouble getting the data to export. I am using ArcGIS Server 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting a zip file exported and downloaded but the shapefile is empty although the .DBF does have the column names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My data is held in Oracle in British National Grid (SRID 27700) and the map uses web mercator (102100). I am setting the geoprocessing output spatial refernce but this does not seem to affect anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;gp = new esri.tasks.Geoprocessor("http://maps.lynxinfo.co.uk:8080/LIVE/services/UKOGL/UKOGLTools/GPServer/Extract%20Data%20Task");
gp.setOutSpatialReference({wkid:27700});&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what I am doing to get the AOI for the Extract Data Geoprocessing Task:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;function showTResults(results){
 dojo.forEach(results, function(result) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var graphic = result.feature;
&amp;nbsp;&amp;nbsp; var fMarkerSymbol = new esri.symbol.SimpleMarkerSymbol(esri.symbol.SimpleMarkerSymbol.STYLE_SQUARE, 10, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([255, 0, 0]), 1), new dojo.Color([0, 255, 0, 0.25]));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var fLineSymbol = new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_DASH, new dojo.Color([255, 0, 0]), 3);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var fPolygonSymbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_NONE, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_DASHDOT, new dojo.Color([255, 0, 0]), 2), new dojo.Color([255, 255, 0, 0.25]));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (graphic.geometry.type) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; case "point":
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphic.setSymbol(fMarkerSymbol);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "polyline":
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphic.setSymbol(fLineSymbol);
&amp;nbsp; break;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case "polygon":
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphic.setSymbol(fPolygonSymbol);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
 map.graphics.add(graphic);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
 ext = esri.graphicsExtent(graphic);
};&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then passing it in like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var dlFormat = 'Shapefile - SHP - .shp';

 var params2 = {
&amp;nbsp; "Layers_to_Clip": clipLayers,
&amp;nbsp; "Area_of_Interest": ext,
&amp;nbsp;&amp;nbsp; "Feature_Format": dlFormat
 }
 esri.show(loading);
 gp.submitJob(params2, completeCallback, statusCallback, function(error){
&amp;nbsp; alert(error);
 esri.hide(loading)
 });&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any idea what I need to do to fix this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:51:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/extract-data-widget-does-not-work/m-p/631272#M18713</guid>
      <dc:creator>BenSayers</dc:creator>
      <dc:date>2021-12-12T02:51:34Z</dc:date>
    </item>
  </channel>
</rss>

