AnsweredAssumed Answered

Can't add feature attributes to FeatureCollectionTable

Question asked by larson_devnetinc on May 2, 2019

Hello All,

 

I am trying to return a combination of features from multiple queries. The result returned by this function needs to be of the type IFeatureSet, and the only class that I know of that I can actually add features to is FeatureCollectionTable. First, I do: FeatureCollectiontable result = new FeatureCollectionTable(queryResult); but when I look at result in the debugger, it has all the features in it, but the attribute values are all null with the exception of the ObjectID. I get the same result when I try to add a feature or multiple features with AddFeatureAsync/AddFeaturesAsync.

 

I was using 100.4 and I tried it again with 100.5, but it still is not working. Is this a bug, or am I missing something?

 

Thanks,

Keith

Outcomes