AnsweredAssumed Answered

What do you use in place of attributes in 10.1.1 sdk?

Question asked by dcat78 on May 22, 2015
Latest reply on May 26, 2015 by DGoyal-esristaff

I'm getting an error on self.identifyResult.feature.attributes of "Property attributes not found on object type 'AGSGraphic'" on the 10.1.1 sdks what do i use in place of that?

 

AGisObject *gisObject = AM_AUTORELEASE([[AGisObject alloc]init]);

                gisObject.layerId = [NSString stringWithFormat:@"%d", self.identifyResult.layerId];

                gisObject.objectId = [self.identifyResult.feature.attributes objectForKey:@"OBJECTID"];

                gisObject.mapService = [self.identifyResult.feature.attributes objectForKey:@"MAPSERVICE"];

                [self.record.agisObjects addObject:gisObject];

Outcomes