Like feature layers have the
queryAttachmentInfos() method to fetch attachment info, is there something like this to fetch attachment info from a map service (ArcGISDynamicMapServiceLayer)?
My app flow is as follows
- query the map service based on some user defined criteria
- set info templates for the returned features (attributes + geometry) (this is also where i specify
showAttachments: truebut again no luck)
- add features to
map.graphicsand show the info window (custom popup in my case)
I have also tried using the attachment editor and the attribute inspector but with no luck.
Should i use the relationship query task? The problem with using the relationship query, i assume, would be that it would be impossible to know if the related record is an attachment or some other related record.