Select to view content in your preferred language

Can attribute table results be limited to map extent by default?

9151
21
Jump to solution
02-05-2015 10:29 AM
MikeMartin
Occasional Contributor


I do not want all records of a layer's attribute table to be loaded into the attribute table. Can the config_Attribute Table.json be modified to limit results to the map extent by default, and only when the layer's scale range has been reached? Thanks.

0 Kudos
21 Replies
RobertScheitlin__GISP
MVP Emeritus

Michael,

   OK in 1.2

  • line 143: this.matchingCheckBox = null; should Not be changed.
  • line 145: this.matchingMap = false; should be changed to true
  • line 1031: checked: false, should be changed to true

Tested and working in WAB 1.2

MichaelRobb
Honored Contributor

That worked!

File:  Server\apps\##\widgets\AttributeTable\Widget.js

Change code this.matchingMap = false;  TO this.matchingMap = True;  (ln 145 in version 1.2)

1.png

Change code checked: false,  TO checked: true, (ln 1031 in version 1.2)

2.png

Filter my Map Extent is enabled (now default) when application is launched.

Final.png