<?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: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144974#M4709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That could cause some issues, yes, but there's always ways around that depending on how you decide to do it. Bad thing about round-about ideas like mine are the performance factors.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right... It's not clear in my mind how to do it, but I think it's worth trying to pursue the idea of passing the JOBID as a variable to the Enhanced Search Widget.&amp;nbsp; The Geoprocessing widget gets the JOBID in response to the user submitting a request.&amp;nbsp; So I &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;just&lt;/SPAN&gt;&lt;SPAN&gt; need to figure out how to then pass that to the other widget....&amp;nbsp; This probably can't be done given the modular nature of the widgets.&amp;nbsp; Which might mean trying to combine them?&amp;nbsp; Ugh.&amp;nbsp; Getting in over my head fast here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2012 18:06:53 GMT</pubDate>
    <dc:creator>ErikMartin</dc:creator>
    <dc:date>2012-02-10T18:06:53Z</dc:date>
    <item>
      <title>Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144965#M4700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had posted this question at the end of the very long Enhanced Search Widget thread.&amp;nbsp; The core question is larger than that, though, so I have started a new thread.&amp;nbsp; Apologies for the double post...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;********************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert &amp;amp; other Flex developers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First, let me add my voice to the chorus of thanks-- your tools and support of the community are outstanding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the Enhanced Search Widget up and running successfully with my MapService. I also have a geoprocessing service that returns a point layer as part of my map. I would like the user to be able to select these results and view the table in the DataGrid. I am fairly new to both ArcGIS Server and Flex (I have poked around the uncompiled code, but haven't gotten into it yet). It's not clear to me whether geoprocessing results which come from the UniqueJobID/%scratchworkspace% on the server have a REST endpoint. And if so, if there is a consistent one that can be access across sessions with the same URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this hasn't been addressed before-- I did search for it, but may have missed it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, many thanks for your help &amp;amp; efforts!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 16:55:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144965#M4700</guid>
      <dc:creator>ErikMartin</dc:creator>
      <dc:date>2012-02-10T16:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144966#M4701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Erik,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The geo-processing result do get a URL but that url is not well known until the process is run and therefore I believe your answer is no.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 17:18:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144966#M4701</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-02-10T17:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144967#M4702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bummer... thanks, Robert.&amp;nbsp; The tag line in your signature is apropos.&amp;nbsp; Without wasting a lot of your time, are there any workarounds that come to mind?&amp;nbsp; It seems like accessing the tabular results of a geoprocessing service would be considered fairly core functionality.&amp;nbsp; Maybe have a second output parameter that's a RecordSet copy of the FeatureSet point layer that gets added to the map?&amp;nbsp; Then how to link them? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, thanks for your time &amp;amp; help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 17:24:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144967#M4702</guid>
      <dc:creator>ErikMartin</dc:creator>
      <dc:date>2012-02-10T17:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144968#M4703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What does your geoprocessing do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 17:35:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144968#M4703</guid>
      <dc:creator>MLowry</dc:creator>
      <dc:date>2012-02-10T17:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144969#M4704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The user inputs some text parameters.&amp;nbsp; The GP script runs a bunch of Python on the server that's basically some fairly straightforward math &amp;amp; field calculations.&amp;nbsp; The input layer is on a point layer stored in SDE.&amp;nbsp; The first step of the GP script is to make a copy of the point data that is put in the JOBID/%scratchworksace%, so that the user isn't writing to the SDE layer (the GP service only has viewer access, anyway).&amp;nbsp; This results is a essentially the copy of the input points with a new field that ranks the points.&amp;nbsp;&amp;nbsp; So depending on the user inputs, the points will rank out differently.&amp;nbsp; The results are brought into the map.&amp;nbsp; They look great and I can query them individually, but I want the user to be able to access the whole table of results and interact with it a la ArcMap desktop.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 17:42:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144969#M4704</guid>
      <dc:creator>ErikMartin</dc:creator>
      <dc:date>2012-02-10T17:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144970#M4705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I just found the URL via the REST page.&amp;nbsp; It does have the JOBID hard coded in the URL.&amp;nbsp; Maybe there's a way to figure out to to have store the JOBID as a variable and use that variable in the Enhanced Search Widget URL??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 17:46:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144970#M4705</guid>
      <dc:creator>ErikMartin</dc:creator>
      <dc:date>2012-02-10T17:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144971#M4706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The user inputs some text parameters.&amp;nbsp; The GP script runs a bunch of Python on the server that's basically some fairly straightforward math &amp;amp; field calculations.&amp;nbsp; The input layer is on a point layer stored in SDE.&amp;nbsp; The first step of the GP script is to make a copy of the point data that is put in the JOBID/%scratchworksace%, so that the user isn't writing to the SDE layer (the GP service only has viewer access, anyway).&amp;nbsp; This results is a essentially the copy of the input points with a new field that ranks the points.&amp;nbsp;&amp;nbsp; So depending on the user inputs, the points will rank out differently.&amp;nbsp; The results are brought into the map.&amp;nbsp; They look great and I can query them individually, but I want the user to be able to access the whole table of results and interact with it a la ArcMap desktop.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Possible to add a step at the end of GP to copy those scratch result points to a permanent feature class which is published through its own .mxd which is published to it's own .msd which is its own service on your server with a known path. The python script will also re-save the .mxd after the old data has been overwritten with the new query data&amp;nbsp; or even increment a number at the end of the feature class name (ie. results1, results2, etc.), re-export to .msd, restart the service, and clear the REST cache and that one service will just be dynamically changed each time they run a query. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just the first idea that came to mind. There's probably better alternatives.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 17:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144971#M4706</guid>
      <dc:creator>MLowry</dc:creator>
      <dc:date>2012-02-10T17:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144972#M4707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Possible to add a step at the end of GP to copy those scratch result points to a permanent feature class which is published through its own .mxd which is published to it's own .msd which is its own service on your server with a known path. The python script will also re-save the .mxd after the old data has been overwritten with the new query data&amp;nbsp; or even increment a number at the end of the feature class name (ie. results1, results2, etc.), re-export to .msd, restart the service, and clear the REST cache and that one service will just be dynamically changed each time they run a query. &lt;BR /&gt;&lt;BR /&gt;Just the first idea that came to mind. There's probably better alternatives.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes -- that's a good thought.&amp;nbsp; It could run into problems if there are concurrent users, though, no?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 17:49:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144972#M4707</guid>
      <dc:creator>ErikMartin</dc:creator>
      <dc:date>2012-02-10T17:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144973#M4708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes -- that's a good thought.&amp;nbsp; It could run into problems if there are concurrent users, though, no?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That could cause some issues, yes, but there's always ways around that depending on how you decide to do it. Bad thing about round-about ideas like mine are the performance factors.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 17:57:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144973#M4708</guid>
      <dc:creator>MLowry</dc:creator>
      <dc:date>2012-02-10T17:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144974#M4709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That could cause some issues, yes, but there's always ways around that depending on how you decide to do it. Bad thing about round-about ideas like mine are the performance factors.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right... It's not clear in my mind how to do it, but I think it's worth trying to pursue the idea of passing the JOBID as a variable to the Enhanced Search Widget.&amp;nbsp; The Geoprocessing widget gets the JOBID in response to the user submitting a request.&amp;nbsp; So I &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;just&lt;/SPAN&gt;&lt;SPAN&gt; need to figure out how to then pass that to the other widget....&amp;nbsp; This probably can't be done given the modular nature of the widgets.&amp;nbsp; Which might mean trying to combine them?&amp;nbsp; Ugh.&amp;nbsp; Getting in over my head fast here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 18:06:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144974#M4709</guid>
      <dc:creator>ErikMartin</dc:creator>
      <dc:date>2012-02-10T18:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144975#M4710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Erik,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The only way you are going to get a datagrid displayed for this GP process data is to do a custom widget. Which like you stated is probably a little deep for you. The eSearch does not support displaying attributes of a layer that does not come from a MapService.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 21:10:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144975#M4710</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-02-10T21:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144976#M4711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Erik,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; The only way you are going to get a datagrid displayed for this GP process data is to do a custom widget. Which like you stated is probably a little deep for you. The eSearch does not support displaying attributes of a layer that does not come from a MapService.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, again, Robert.&amp;nbsp; My timeline is such that I might try to go down this road over the next 6 months.&amp;nbsp; If I am successful, I'll be sure to make the results available for interested folks.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 11:04:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144976#M4711</guid>
      <dc:creator>ErikMartin</dc:creator>
      <dc:date>2012-02-13T11:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144977#M4712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I am successful, I'll be sure to make the results available for interested folks.&amp;nbsp; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm interested. How can I learn more?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 22:16:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144977#M4712</guid>
      <dc:creator>MaxSquires</dc:creator>
      <dc:date>2012-05-14T22:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144978#M4713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm interested. How can I learn more?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Frederic,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have pursued this and developed a custom widget that includes geoprocessing results as graphics linked to a datagrid.&amp;nbsp; Modifying the Viewer's Geoprocessing widget ended up not making sense for me-- since I was taking the time to learn Flex and develop custom functionality, it made more sense to incorporate other project-specific custom functionality (beyond the datagrid linked to graphic results) into a custom widget.&amp;nbsp; The Viewer's Geoprocessing widget is also pretty complex since it is designed to handle many kinds of geoprocessing operations, not just a specific one like my custom widget is, so modifying it would require more time spent trying to understand and modify a lot of code that isn't applicable to my project, anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are interested in getting into the Flex coding, I would be happy to share some of my code (there are also already several posts and examples out there which helped me along the way.&amp;nbsp; This blog is a good place to start... &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2009/02/19/sychronizing-map-and-datagrid-interaction-with-the-arcgis-api-for-flex/"&gt;http://blogs.esri.com/esri/arcgis/2009/02/19/sychronizing-map-and-datagrid-interaction-with-the-arcgis-api-for-flex/&lt;/A&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I ever have the time to dig in a bit more, I still think it would be great to have this as part of the stock Geoprocessing widget functionality and would repost the results here if I do go down that road.&amp;nbsp; I suspect there are others with more Flex skills who will beat me to it, though!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 12:12:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144978#M4713</guid>
      <dc:creator>ErikMartin</dc:creator>
      <dc:date>2012-05-15T12:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144979#M4714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Frederic,&lt;BR /&gt;&lt;BR /&gt;If you are interested in getting into the Flex coding...&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am definately interested.&amp;nbsp; I sent you a message with more details.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 13:32:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144979#M4714</guid>
      <dc:creator>MaxSquires</dc:creator>
      <dc:date>2012-05-16T13:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Access Geoprocessing results in Flex Viewer: Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144980#M4715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am definately interested.&amp;nbsp; I sent you a message with more details.&amp;nbsp; Thanks.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Frederic,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the core of my code.&amp;nbsp; I took out a lot of non-essential stuff, so it might not all look right (e.g. if you look in the Design view of FB, it won't look right).&amp;nbsp; But this should make it easier to see what I did to get the GP results &amp;amp; datagrid working.&amp;nbsp; Also note that I'm using an asynchronous service-- if yours is synchronous, you'll need to amend it accordingly.&amp;nbsp; Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Erik&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;viewer:BaseWidget xmlns:fx="http://ns.adobe.com/mxml/2009"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:s="library://ns.adobe.com/flex/spark"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:mx="library://ns.adobe.com/flex/mx"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:esri="http://www.esri.com/2008/ags"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:viewer="com.esri.viewer.*"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:supportClasses="com.esri.ags.skins.supportClasses.*"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:renderers="com.esri.ags.renderers.*"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; widgetConfigLoaded="init()"&amp;gt;
 &amp;lt;fx:Script&amp;gt;
&amp;nbsp; &amp;lt;![CDATA[
&amp;nbsp;&amp;nbsp; import com.esri.ags.FeatureSet;
&amp;nbsp;&amp;nbsp; import com.esri.ags.Graphic;
&amp;nbsp;&amp;nbsp; import com.esri.ags.Map;
&amp;nbsp;&amp;nbsp; import com.esri.ags.events.ExtentEvent;
&amp;nbsp;&amp;nbsp; import com.esri.ags.events.GeoprocessorEvent;
&amp;nbsp;&amp;nbsp; import com.esri.ags.geometry.Extent;
&amp;nbsp;&amp;nbsp; import com.esri.ags.geometry.Geometry;
&amp;nbsp;&amp;nbsp; import com.esri.ags.geometry.MapPoint;

&amp;nbsp;&amp;nbsp; import com.esri.ags.layers.GraphicsLayer;

&amp;nbsp;&amp;nbsp; import com.esri.ags.renderers.supportClasses.UniqueValueInfo;
&amp;nbsp;&amp;nbsp; import com.esri.ags.symbols.SimpleFillSymbol;
&amp;nbsp;&amp;nbsp; import com.esri.ags.tasks.supportClasses.*;
&amp;nbsp;&amp;nbsp; import com.esri.ags.tasks.supportClasses.JobInfo;
&amp;nbsp;&amp;nbsp; import com.esri.ags.tasks.supportClasses.LinearUnit;
&amp;nbsp;&amp;nbsp; import com.esri.ags.tasks.supportClasses.ParameterValue;
&amp;nbsp;&amp;nbsp; import com.esri.ags.utils.GraphicUtil;
&amp;nbsp;&amp;nbsp; import com.esri.ags.utils.WebMercatorUtil;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; import flash.events.Event;
&amp;nbsp;&amp;nbsp; import flash.utils.flash_proxy;
&amp;nbsp;&amp;nbsp; import flashx.textLayout.tlf_internal;
&amp;nbsp;&amp;nbsp; import mx.collections.ArrayCollection;
&amp;nbsp;&amp;nbsp; import mx.collections.IList;
&amp;nbsp;&amp;nbsp; import mx.controls.Alert;
&amp;nbsp;&amp;nbsp; import mx.core.mx_internal;
&amp;nbsp;&amp;nbsp; import mx.events.CloseEvent;
&amp;nbsp;&amp;nbsp; import mx.events.EffectEvent;
&amp;nbsp;&amp;nbsp; import mx.events.FlexEvent;
&amp;nbsp;&amp;nbsp; import mx.events.ListEvent;
&amp;nbsp;&amp;nbsp; import mx.rpc.Fault;
&amp;nbsp;&amp;nbsp; import mx.rpc.events.FaultEvent;
&amp;nbsp;&amp;nbsp; import mx.utils.ArrayUtil;
&amp;nbsp;&amp;nbsp; import mx.utils.ObjectUtil;
&amp;nbsp;&amp;nbsp; import spark.events.GridEvent;
&amp;nbsp;&amp;nbsp; import spark.events.TextOperationEvent;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; [Bindable] private var taskurl:String;
&amp;nbsp;&amp;nbsp; private var myGraphicsLayer:GraphicsLayer;
&amp;nbsp;&amp;nbsp; [Bindable] private var resultAttributes: ArrayCollection;
&amp;nbsp;&amp;nbsp; private var selGraphic:Graphic;
&amp;nbsp;&amp;nbsp; private var fs: FeatureSet;
&amp;nbsp;&amp;nbsp; private var highlightedGraphic:Graphic;
&amp;nbsp;&amp;nbsp; private var requestObject:Object;
&amp;nbsp;&amp;nbsp; [Bindable] public var inputArr:Array = new Array();
&amp;nbsp;&amp;nbsp; private var inputFR:FileReference = new FileReference();
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; public function init():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (configXML) // checking for valid content in the configuration file
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myGraphicsLayer = new GraphicsLayer();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; taskurl = configXML.taskurl;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show("Problem with config.xml file")
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; map.doubleClickZoomEnabled= true;
&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //geoprocessor fault handler
&amp;nbsp;&amp;nbsp; private function gp_faultHandler(event:FaultEvent):void
&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show(event.fault.message.toString() );
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //parameter input submit button handler
&amp;nbsp;&amp;nbsp; private function submit_clickHandler(event:MouseEvent):void
&amp;nbsp;&amp;nbsp; {&amp;nbsp; myGraphicsLayer.clear();
&amp;nbsp;&amp;nbsp;&amp;nbsp; var requestObject:Object = createRequestObject();
&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.submitJob(requestObject);
&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CursorManager.setBusyCursor();
&amp;nbsp;&amp;nbsp;&amp;nbsp; setCurrentState("Processing",true);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //creates the request object from the input parameter values
&amp;nbsp;&amp;nbsp; private function createRequestObject():Object
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var metric1:String = met1.text;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var metric2:String = met2.selectedItem;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var metric3:String = met3.text;
&amp;nbsp;&amp;nbsp;&amp;nbsp; requestObject ={
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Metric_1":metric1,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Metric_2":metric2,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Metric_3":metric3};
&amp;nbsp;&amp;nbsp;&amp;nbsp; return requestObject;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //fires when geoprocessor finishes.&amp;nbsp; retrives result data
&amp;nbsp;&amp;nbsp; protected function gp_jobCompleteHandler(event:GeoprocessorEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (event.jobInfo.jobStatus == JobInfo.STATUS_SUCCEEDED)
&amp;nbsp;&amp;nbsp;&amp;nbsp; { 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.addEventListener(GeoprocessorEvent.GET_RESULT_DATA_COMPLETE, onGetResult);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.getResultData(gp.submitJobLastResult.jobId, "Result");
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show("Geoprocessing Error");
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //fires when the results have been received.&amp;nbsp; renders the results &amp;amp; grahics to map, gets attributes 
&amp;nbsp;&amp;nbsp; protected function onGetResult(event : GeoprocessorEvent) : void
&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; myGraphicsLayer.renderer = ResultRenderer(); //this is a separate unique value renderer compenent
&amp;nbsp;&amp;nbsp;&amp;nbsp; var pv:ParameterValue = event.parameterValue;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fs = new FeatureSet;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fs = pv.value as FeatureSet;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; for each(var graphic:Graphic in fs.features)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myGraphicsLayer.add(graphic);
&amp;nbsp;&amp;nbsp;&amp;nbsp; } 
&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(myGraphicsLayer); 
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; var resultAttribute:Array = fs.attributes;
&amp;nbsp;&amp;nbsp;&amp;nbsp; resultAttributes= new ArrayCollection(resultAttribute);
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //selects result graphic when clicked on and finds matching record in datagrid
&amp;nbsp;&amp;nbsp; protected function graphic_clickHandler(event:MouseEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; selGraphic = Graphic(event.target);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; for each(var attributes : Object in resultsGrid.dataProvider)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (attributes === selGraphic.attributes)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resultsGrid.selectedIndex = (resultsGrid.dataProvider as ArrayCollection).getItemIndex(attributes)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; resultsGrid.ensureCellIsVisible(resultsGrid.selectedIndex);
&amp;nbsp;&amp;nbsp;&amp;nbsp; resultsGrid.setSelectedIndex(resultsGrid.selectedIndex);
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //helper function to find the graphic from the selected datagrid row
&amp;nbsp;&amp;nbsp; protected function findGraphicByAttribute(attributes : Object) : Graphic
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; for each( var foundGraphic : Graphic in myGraphicsLayer.graphicProvider)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( foundGraphic.attributes.OBJECTID === attributes.OBJECTID)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return foundGraphic;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; return null;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //zoom to the selected point when datagrid row is double clicked
&amp;nbsp;&amp;nbsp; protected function resultsGrid_gridDoubleClickHandler(event:GridEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var pt:MapPoint = null;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pt = highlightedGraphic.geometry as MapPoint;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (map.scale &amp;gt; 80000)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.scale = 50000;
&amp;nbsp;&amp;nbsp;&amp;nbsp; map.centerAt(pt); 
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp; ]]&amp;gt;
 &amp;lt;/fx:Script&amp;gt;
 
 
 &amp;lt;fx:Declarations&amp;gt;
&amp;nbsp; &amp;lt;esri:Geoprocessor id="gp"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jobComplete="gp_jobCompleteHandler(event)"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fault="gp_faultHandler(event)"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processSpatialReference="{map.spatialReference}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outSpatialReference="{map.spatialReference}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; showBusyCursor="false"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="{taskurl}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; useAMF="false"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; updateDelay="2000"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&amp;gt;
&amp;nbsp; 
 &amp;lt;/fx:Declarations&amp;gt; 
 
 &amp;lt;viewer:WidgetTemplate id="myWidget" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="450" height="600"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;s:Group id="widgetGrp"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100%" height="100%"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:Group id="paramsArea"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:TextInput id="met1" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x="68" y="48" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="210" height="20"/&amp;gt;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:ComboBox id="met2" x="120" y="75" selectedItem="{}"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:ArrayCollection&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;AND&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;AND NOT&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;OR&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:ArrayCollection&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:ComboBox&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:TextInput id="met3"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x="68" y="105" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="210" height="20"/&amp;gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:Button id="submit"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x="300" y="720" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label="Submit" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; click="submit_clickHandler(event)"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:Group&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:Group id="resultsArea"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:DataGrid id="resultsGrid"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100%" height="98%"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataProvider="{resultAttributes}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mouseFocusEnabled="true"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; verticalScrollPolicy="auto"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doubleClickEnabled="true"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gridDoubleClick="resultsGrid_gridDoubleClickHandler(event)"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bottom="24"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:columns&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:ArrayList&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:GridColumn dataField="Field1" width="250"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:GridColumn dataField="Field2"&amp;nbsp; width="65"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:GridColumn dataField="Field3" width="100"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:ArrayList&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:columns&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:DataGrid&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:Group&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/s:Group&amp;gt;
 &amp;lt;/viewer:WidgetTemplate&amp;gt; 
&amp;lt;/viewer:BaseWidget&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:55:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/access-geoprocessing-results-in-flex-viewer/m-p/144980#M4715</guid>
      <dc:creator>ErikMartin</dc:creator>
      <dc:date>2021-12-11T07:55:58Z</dc:date>
    </item>
  </channel>
</rss>

