Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Our application retrieves features from an arcGIS service and stores information (goegraphy, attributes, attachments) on them in our application database.

When the time comes to check what's new and different between our application database and the service, it's reasonably straightforward to retrieve features and their geometry/attributes (that's a single GET call to the feature service), but for attachments we must make a separate GET request for the array of attachments for each object. That's a lot of requests.

Is there a way to return the full array of attachments for a particular feature service, with OBJECTID or GlobalID in the response? Or alternatively, is there a way that the GET response for features can include the attachment array?

Pardon any incorrect use of terminology here; I'm primarily working on the application side rather than the GIS side of this project.

share|improve this question
Possibly I could use queryRelatedRecords (resources.arcgis.com/en/help/rest/apiref/…)? Can the attachments table be exposed as a relationship to make it available like a relationship? – sasfrog Feb 20 at 0:46

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.