Select to view content in your preferred language

Limit Feature Table records to visible extent

4721
10
Jump to solution
03-14-2016 10:57 PM
FC_Basson
MVP Regular Contributor


I have a Feature Layer and a Feature Table in my map view.  I would like the Feature Table to only show the records from the Feature Layer that are visible in the current map extent and not all the records or the selected feature records.   I have tried to use the MODE_SELECTION with an update query on the Feature Layer, which then only shows the Feature Layer features which intersect with the current map extent, but the Feature Table is still showing all the records.  Is it possible and how would you do it?

10 Replies
ChristopherJohnson1
Occasional Contributor II

Hi, Robert.  As I am looking more at the feature table, it seems as though only the header is incorrect.  The actual number of values in the table, using your code, is correct.

My application is embedded in a 3rd party Business Intelligence tool, so it is hard to embed the full HTML.  The JavaScript code that I posted was complete, however.

Thanks...Chris

0 Kudos