Is there a way to query attachments from a map service (as opposed to a feature service)? I can create and initialize a ServiceFeatureTable OK, but when I try to query attachments, I get the dreaded "Row not found" exception. I can get to the attachments directly through REST calls, so I know it's not a data or service issue.
Solved! Go to Solution.
I had this problem too. I would get the same error when calling "QueryAttachmentsAsync". Solution was to call "QueryAsync" first getting the feature itself (it has something to do with internal caching in the API I guess).
I had this problem too. I would get the same error when calling "QueryAttachmentsAsync". Solution was to call "QueryAsync" first getting the feature itself (it has something to do with internal caching in the API I guess).
That did the trick. Normally I query features in a separate block of code, and the memory context must make a difference. Thanks for the tip!