<?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: Run Widget on map Click in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/run-widget-on-map-click/m-p/87188#M3365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2011 07:47:43 GMT</pubDate>
    <dc:creator>FaizanTayyab</dc:creator>
    <dc:date>2011-10-06T07:47:43Z</dc:date>
    <item>
      <title>Run Widget on map Click</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/run-widget-on-map-click/m-p/87186#M3363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anybody know how to run a widget on map mouse click. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 16:11:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/run-widget-on-map-click/m-p/87186#M3363</guid>
      <dc:creator>FaizanTayyab</dc:creator>
      <dc:date>2011-10-05T16:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Run Widget on map Click</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/run-widget-on-map-click/m-p/87187#M3364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Faizan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;AppEvent.dispatch(AppEvent.WIDGET_RUN, id);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 16:22:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/run-widget-on-map-click/m-p/87187#M3364</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-10-05T16:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Run Widget on map Click</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/run-widget-on-map-click/m-p/87188#M3365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 07:47:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/run-widget-on-map-click/m-p/87188#M3365</guid>
      <dc:creator>FaizanTayyab</dc:creator>
      <dc:date>2011-10-06T07:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Run Widget on map Click</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/run-widget-on-map-click/m-p/87189#M3366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have added the code in the map click event, however it throws an error on focus widget function. It seems the map click event is fired again and hence the widget run command executes again. How to stop the widget command from running once the widget has run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically i need the identify widget to run (automatically open) whenever the user click on the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 08:35:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/run-widget-on-map-click/m-p/87189#M3366</guid>
      <dc:creator>FaizanTayyab</dc:creator>
      <dc:date>2011-10-11T08:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Run Widget on map Click</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/run-widget-on-map-click/m-p/87190#M3367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Faizan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; If you are using Flex Viewer 2.4 than you could use this to determine if the widget is already loaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;ViewerContainer.getInstance().widgetManager.getAllLoadedWidgetIds()&lt;/PRE&gt;&lt;SPAN&gt; This returns an array of widget ids that you can check if your widgets id is in the array and if it is don't do the Run.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 10:52:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/run-widget-on-map-click/m-p/87190#M3367</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-10-11T10:52:11Z</dc:date>
    </item>
  </channel>
</rss>

