Select to view content in your preferred language

Popup Panel 2.13 - Selection Display issue Dashboard Theme

682
4
Jump to solution
12-23-2019 12:10 AM
RodWoodfordOld
Frequent Contributor

Hi Robert,

 

I'm having an issue with weird behavior re the popup panel when using the dashboard theme. Please see app below. When users click the Map Layers tab, top left of the display and turn layer on multiple layers and then click in the map display area only the first result is been displayed in the Popup panel ("Map layers result" - bottom right of display). Users can't seem to scroll between selected layers. Any advise would be useful.

ArcGIS Web Application 

cheers

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

I forgot to mention that same change needs to be made to the eSearch\featureActions\eZoomTo.js

Did you update the site with the code change?

View solution in original post

4 Replies
RobertScheitlin__GISP
MVP Emeritus

Rod,

   You are running into an eSearch issue that was fix in 2.13 I think. In the eSearch\featureActions\eShowStatistics.js

Make this change (line 5).

    isFeatureSupported: function(featureSet, layer){
      var supported = false;
      supported = featureSet.features.length > 1 && layer && this.getNumbericFields(layer).length > 0;
      var tWidget = WidgetManager.getInstance().getWidgetById(this.widgetId);
      if(tWidget && tWidget.state === 'active'){
        return supported;
      }else{
        return false;
      };
    },‍‍‍‍‍‍‍‍‍‍
0 Kudos
RodWoodfordOld
Frequent Contributor

Hi Robert,

Thanks for the prompt reply. No that didn't resolve the problem.

cheers

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

I forgot to mention that same change needs to be made to the eSearch\featureActions\eZoomTo.js

Did you update the site with the code change?

RodWoodfordOld
Frequent Contributor

Thanks Robert. Yep that did the trick. All good now. Thanks for your continued development and help over the last 12 months. Have a great Xmas and New Year.

cheers

Rod

0 Kudos