AnsweredAssumed Answered

Feature Layer Attachments

Question asked by vikrant327 on Nov 13, 2012
Latest reply on Nov 14, 2012 by njarecha-esristaff
I am following the documentation for attachment manager for the feature layer. In my case layer is the table in feature service.

What I am doing is
 int fid = 27242 AGSGraphic* feature = [featureLayer lookupFeatureWithObjectId:fid];  NSLog("%@",feature);  AGSAttachmentManager* attMgr = [featureLayer attachmentManagerForFeature: feature];  [attMgr addAttachmentAsJpgWithImage:image name:@"My House"];  

What is am getting in NSLog is null , even though there is a feature in the layer with ObjectId 27242.

Is there something I am doing wrong?