Select to view content in your preferred language

Filter display of FeatureTable records

4247
2
04-30-2015 05:42 PM
JasonMann
Deactivated User

Is there a simple way to filter the display of local offline FeatureTable records?  The ServiceFeatureTable contains a Where clause to add an expression to filter the records that are displayed on the map when a layer is added, but the FeatureTable does not appear to have this functionality.  I only want to display features that are not set to "Completed" in the attribute table field.

0 Kudos
2 Replies
AnttiKajanus1
Deactivated User

You can use FeatureLayer.DefinitionExpression Property to define what is visible.

JasonMann
Deactivated User

Thanks for your reply.  That is exactly what I needed and I can't believe that I overlooked that property.

0 Kudos