I have been trying to get attachments to work against a map service and I am having no luck.
In Flex this was really easy but in JS it is proving difficult.
Based on how the documentation reads it appears JS only support viewing attachments on FeatureLayers and not MapServer services?
I am not sure why this would be the case as the map service I am working with shows at the REST endpoint show
Has Attachments: true
So why would JS not support attachments with a map service, is this really true? How are they getting around this in AGOL then?