I'm performing a relationship query and attempting to get at the attribute DOMAIN values, but all I am getting is the numeric domain value code.
My process so far is :
- (void) queryTask:(AGSQueryTask*)queryTask operation:(NSOperation*)op didExecuteWithRelatedFeatures:(NSDictionary*) relatedFeatures { //The item for which we are finding related features NSNumber* valveID = self.featureOID; AGSFeatureSet* results = [relatedFeatures objectForKey: valveID]; AGSGraphic *graphic = [results.features objectAtIndex:0]; NSLog(@"graphic: %@",graphic); In the Log, here is what I get :
The RELATEFIELDDOMAIN is bringing back the value of 1, rather than the coded value.
When I bring up the table in REST, for the RELATEFIELDDOMAIN attribute, it shows the Coded Values (Asphalt and Concrete) - but when I run the relationship query, it only brings back the numeric values (1 and 2).
This is a known deficiency in the API and an enhancement request has been added. I encourage you to add your own enhancement request to ensure Esri knows of the criticality of this deficiency. Thank you.
This is a known deficiency in the API and an enhancement request has been added. I encourage you to add your own enhancement request to ensure Esri knows of the criticality of this deficiency. Thank you.