<?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: Adding/Opening User-selected widgets in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-opening-user-selected-widgets/m-p/390954#M11218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Flex Viewer is a fairly complex beast with what I think is too little commenting.&amp;nbsp; Your guidance has once again helped me identify where to focus my modification efforts.&amp;nbsp; I've added a new config parameter for widgets asking whether to show or hide them from the HeaderControllerWidget and it works great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2014 13:49:32 GMT</pubDate>
    <dc:creator>AndrewBlakey</dc:creator>
    <dc:date>2014-03-14T13:49:32Z</dc:date>
    <item>
      <title>Adding/Opening User-selected widgets</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-opening-user-selected-widgets/m-p/390950#M11214</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;BR /&gt;&lt;SPAN&gt;I have a simple use case but I'm not sure how to circumvent the Flex Viewer design to do so.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two basic widgets that sit beside the map frame. Neither have the widget frame, icon, etc.&amp;nbsp;&amp;nbsp; I want the application to start up showing neither and ask the user which one to display. Upon choice, the application will load and display that one, which being a static size and position, will fill the gap beside the map frame.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I load in a widget and display it AFTER the application has initialized?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My workaround is to load both, and hide it all with a panel that shows up. Upon selection, the panel disappears and I use events to hide the one I don't want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 18:28:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-opening-user-selected-widgets/m-p/390950#M11214</guid>
      <dc:creator>AndrewBlakey</dc:creator>
      <dc:date>2014-03-13T18:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding/Opening User-selected widgets</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-opening-user-selected-widgets/m-p/390951#M11215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Andrew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Just use:&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>Thu, 13 Mar 2014 19:17:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-opening-user-selected-widgets/m-p/390951#M11215</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-03-13T19:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding/Opening User-selected widgets</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-opening-user-selected-widgets/m-p/390952#M11216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This makes sense but I'm stuck at how to tell FlexViewer what the widget is (and therefore have it assigned an ID) without it loading and running.&amp;nbsp; I currently have the widget listed in the ViewerUI section of config.xml.&amp;nbsp; Everything I list in this section is loaded displayed on startup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 19:20:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-opening-user-selected-widgets/m-p/390952#M11216</guid>
      <dc:creator>AndrewBlakey</dc:creator>
      <dc:date>2014-03-13T19:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding/Opening User-selected widgets</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-opening-user-selected-widgets/m-p/390953#M11217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Andrew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Your situation is pretty unique, so you will need to add the widgets back to the sandard widgets container and just prevent the HeaderControllerWidget for making a button for the widgets by inspecting the widgets array for the widgets label and if it equals one of your widgets then you do not add the button.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 21:03:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-opening-user-selected-widgets/m-p/390953#M11217</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-03-13T21:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Adding/Opening User-selected widgets</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-opening-user-selected-widgets/m-p/390954#M11218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Flex Viewer is a fairly complex beast with what I think is too little commenting.&amp;nbsp; Your guidance has once again helped me identify where to focus my modification efforts.&amp;nbsp; I've added a new config parameter for widgets asking whether to show or hide them from the HeaderControllerWidget and it works great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 13:49:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-opening-user-selected-widgets/m-p/390954#M11218</guid>
      <dc:creator>AndrewBlakey</dc:creator>
      <dc:date>2014-03-14T13:49:32Z</dc:date>
    </item>
  </channel>
</rss>

