<?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 When the 'onExecute' method is executed? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-the-onexecute-method-is-executed/m-p/378754#M35152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I have a featureAction in my widget, the onExecute method, when is executed?&lt;/P&gt;&lt;P&gt;I know that Is not when I open the widget, somebody knows when?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 15:47:15 GMT</pubDate>
    <dc:creator>RolandoFlorez</dc:creator>
    <dc:date>2016-10-18T15:47:15Z</dc:date>
    <item>
      <title>When the 'onExecute' method is executed?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-the-onexecute-method-is-executed/m-p/378754#M35152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I have a featureAction in my widget, the onExecute method, when is executed?&lt;/P&gt;&lt;P&gt;I know that Is not when I open the widget, somebody knows when?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 15:47:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-the-onexecute-method-is-executed/m-p/378754#M35152</guid>
      <dc:creator>RolandoFlorez</dc:creator>
      <dc:date>2016-10-18T15:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: When the 'onExecute' method is executed?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-the-onexecute-method-is-executed/m-p/378755#M35153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rolando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;When the custom FeatureAction is clicked. It depends if the FeatureAction is added to the popup menu or a menu in the widget itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 16:27:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-the-onexecute-method-is-executed/m-p/378755#M35153</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-10-18T16:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: When the 'onExecute' method is executed?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-the-onexecute-method-is-executed/m-p/378756#M35154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert, and how can I use&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt; a menu in the widget itself.?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 18:17:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-the-onexecute-method-is-executed/m-p/378756#M35154</guid>
      <dc:creator>RolandoFlorez</dc:creator>
      <dc:date>2016-10-18T18:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: When the 'onExecute' method is executed?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-the-onexecute-method-is-executed/m-p/378757#M35155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rolando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You have to build one yourself. You can look at the eSearch widget for an example of this.&lt;/P&gt;&lt;P&gt;Widget.html:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;div &lt;SPAN class="keyword token"&gt;class&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"popup-menu-button esearch-result-action-button"&lt;/SPAN&gt; data&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;dojo&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;attach&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;event&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"click:_onBtnMenuClicked"&lt;/SPAN&gt; data&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;dojo&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;attach&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;point&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"divOptions"&lt;/SPAN&gt; title&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"${nls.resultactions}"&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"display:none;"&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;div&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Widget.js:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp; _onBtnMenuClicked: function(evt){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var position = html.position(evt.target || evt.srcElement);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var featureSet = this._getFeatureSet();

.....&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:29:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-the-onexecute-method-is-executed/m-p/378757#M35155</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T17:29:47Z</dc:date>
    </item>
  </channel>
</rss>

