<?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>idea Implement Command which triggers an action in ArcGIS Web AppBuilder Ideas</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-ideas/implement-command-which-triggers-an-action/idi-p/952614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great to have the concept of a command within the ArcGIS Web AppBuilder. I would expect to:&lt;/P&gt;&lt;P&gt;- Develop a widget and set in the config file something like isCommand = true&lt;/P&gt;&lt;P&gt;- The OnScreenWidgetIcon.js file on the HeaderController would then recognize that I intend to run that control as a Command not as a traditional widget (with or without a panel).&lt;/P&gt;&lt;P&gt;- The OnScreenWidgetIcon.js file should simply create the icon and style and provide an onclick event listener that we can subscribe to from the WidgetBase class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, the OnScreenWidgetIcon items should persist the class names with something more meaningful as defined in the config file. Not something like: class="jimu-widget-onscreen-icon" or id="dijit__WidgetBase_6".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2016 00:33:05 GMT</pubDate>
    <dc:creator>JoseSousa</dc:creator>
    <dc:date>2016-08-04T00:33:05Z</dc:date>
    <item>
      <title>Implement Command which triggers an action</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-ideas/implement-command-which-triggers-an-action/idi-p/952614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great to have the concept of a command within the ArcGIS Web AppBuilder. I would expect to:&lt;/P&gt;&lt;P&gt;- Develop a widget and set in the config file something like isCommand = true&lt;/P&gt;&lt;P&gt;- The OnScreenWidgetIcon.js file on the HeaderController would then recognize that I intend to run that control as a Command not as a traditional widget (with or without a panel).&lt;/P&gt;&lt;P&gt;- The OnScreenWidgetIcon.js file should simply create the icon and style and provide an onclick event listener that we can subscribe to from the WidgetBase class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, the OnScreenWidgetIcon items should persist the class names with something more meaningful as defined in the config file. Not something like: class="jimu-widget-onscreen-icon" or id="dijit__WidgetBase_6".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 00:33:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-ideas/implement-command-which-triggers-an-action/idi-p/952614</guid>
      <dc:creator>JoseSousa</dc:creator>
      <dc:date>2016-08-04T00:33:05Z</dc:date>
    </item>
  </channel>
</rss>

