AnsweredAssumed Answered

Attachments to Tables Not Supported

Question asked by MCederholm on Oct 13, 2014
Latest reply on Sep 9, 2016 by erlpowel

Table support has definitely improved with the release, but support for attachments to tables (i.e. no geometry) isn't quite there yet.  A ServiceFeatureTable indicates that it has attachments, but QueryAttachmentsAsync causes the following exception:

 

A first chance exception of type 'System.Exception' occurred in mscorlib.dll

Not found : Row not found.

   at RuntimeCoreNet.Interop.HandleException(Boolean retVal)

   at RuntimeCoreNet.CoreFeatureSource.ImportAttachmentInfos(String jsonFilePath, Int64 featureID)

   at Esri.ArcGISRuntime.Data.ServiceFeatureTable.<ImportAttachmentInfosAsync>d__42.MoveNext()

 

An offline geodatabase indicates that the table has no attachments, and the attachment tables are not present in the geodatabase (although they are for a feature class), so that looks like an ArcGIS Server 10.2.2 issue.

Outcomes