# How do I connect a signal to a FeatureTable pointing to a local geodatabase?

Latest reply on May 12, 2017 by LDanzinger-esristaff

I'm currently using the following format to create a FeatureLayer from a local geodatabase:

FeatureLayer {     id: spanFeatureLayer     labelsEnabled: true     featureTable: localGDB.geodatabaseFeatureTablesByTableName["Spans"]}

But how do I connect a signal to the FeatureTable?

I want to use queryFeatures() on the FeatureTable and look at queryFeaturesStatus results, but I'm not sure how I do that when the FeatureTable is created the above way.

Or, how do I declaratively create a FeatureTable like this:

FeatureTable {     id: spanFeatureTable     ??: path\to\geodatabase\table          onQueryFeaturesResultChanged: {          ...     }}

When using a local geodatabase?