<?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: Feature Actions released at 2.1 issue in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/feature-actions-released-at-2-1-issue/m-p/813074#M6655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cheers, I'll give it ago.&lt;/P&gt;&lt;P&gt;Rod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jul 2016 01:17:30 GMT</pubDate>
    <dc:creator>RodWoodfordOld</dc:creator>
    <dc:date>2016-07-29T01:17:30Z</dc:date>
    <item>
      <title>Feature Actions released at 2.1 issue</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/feature-actions-released-at-2-1-issue/m-p/813072#M6653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #666666; line-height: 115%; font-family: 'Helvetica','sans-serif'; font-size: 10.5pt;"&gt;Hi &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; line-height: 115%; font-family: 'Helvetica','sans-serif'; font-size: 10.5pt;"&gt;How do I control the Feature Actions released in 2.1. I want to be able to modified, add or remove them from apps as required. Basically the statistics can be misleading in some apps and I would like to hide access or modify the results if possible. Any advice would be useful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; line-height: 115%; font-family: 'Helvetica','sans-serif'; font-size: 10.5pt;"&gt;cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; line-height: 115%; font-family: 'Helvetica','sans-serif'; font-size: 10.5pt;"&gt;Rod&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 00:53:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/feature-actions-released-at-2-1-issue/m-p/813072#M6653</guid>
      <dc:creator>RodWoodfordOld</dc:creator>
      <dc:date>2016-07-28T00:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Actions released at 2.1 issue</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/feature-actions-released-at-2-1-issue/m-p/813073#M6654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; There is no configuration option for this but you can edit the jimu/popupmanager.js in the _initPopupMenu function you can check for you layer and then remove actions you don't want to see for that particular layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 13:14:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/feature-actions-released-at-2-1-issue/m-p/813073#M6654</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-07-28T13:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Actions released at 2.1 issue</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/feature-actions-released-at-2-1-issue/m-p/813074#M6655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cheers, I'll give it ago.&lt;/P&gt;&lt;P&gt;Rod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 01:17:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/feature-actions-released-at-2-1-issue/m-p/813074#M6655</guid>
      <dc:creator>RodWoodfordOld</dc:creator>
      <dc:date>2016-07-29T01:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Actions released at 2.1 issue</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/feature-actions-released-at-2-1-issue/m-p/813075#M6656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have looked at this file but cant find any layers to amend. Can you provide more info. Am I looking at the correct file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\server\apps\**\jimu.js\popupmanager.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_initPopupMenu: function(){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.featureActionManager.getSupportedActions(this.selectedFeature).then(lang.hitch(this, function(actions){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var popupActions = actions.filter(lang.hitch(this, function(action){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ['ZoomTo', 'ShowPopup', 'Flash'].indexOf(action.name) &amp;lt; 0 ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(popupActions.length === 0){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.addClass(this.popupMenuButtonDesktop, 'disabled');&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.addClass(this.popupMenuButtonMobile, 'disabled');&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }else{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.removeClass(this.popupMenuButtonDesktop, 'disabled');&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.removeClass(this.popupMenuButtonMobile, 'disabled');&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var menuActions = popupActions.map(lang.hitch(this, function(action){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; action.data = jimuUtils.toFeatureSet(this.selectedFeature);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return action;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.popupMenu.setActions(menuActions);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 02:02:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/feature-actions-released-at-2-1-issue/m-p/813075#M6656</guid>
      <dc:creator>RodWoodfordOld</dc:creator>
      <dc:date>2016-07-29T02:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Actions released at 2.1 issue</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/feature-actions-released-at-2-1-issue/m-p/813076#M6657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Sorry, I should have explained more. You can use &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;this.selectedFeature.getLayer() to get the layer that the popup is dealing with and then check the title or id of that layer to see if it is your layer of interest.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 11:49:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/feature-actions-released-at-2-1-issue/m-p/813076#M6657</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-07-29T11:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Actions released at 2.1 issue</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/feature-actions-released-at-2-1-issue/m-p/813077#M6658</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;Have you found a way to disable a feature action like Statistics?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 00:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/feature-actions-released-at-2-1-issue/m-p/813077#M6658</guid>
      <dc:creator>JeremyWolff</dc:creator>
      <dc:date>2020-02-14T00:17:12Z</dc:date>
    </item>
  </channel>
</rss>

