Select to view content in your preferred language

QueryAttachments Needs to return versioned data

467
4
05-26-2022 10:52 AM
KarenRobine1
New Contributor III

I'm reviewing the documentation here:  https://developers.arcgis.com/rest/services-reference/enterprise/query-attachments-feature-service-l...   We would like to use queryAttachments for branch versioned data. But right now, this is not supported. There's no way to add gdbVersion to the request.  This is a bug as far as I can tell.  I also tried using VersionManager and obtaining differences, but if the user JUST adds attachments and does not make any edits to the associated features, the differences REST API request does not capture the new attachment.  Ideas? Workarounds?  

0 Kudos
4 Replies
Raul_Jimenez
Esri Contributor

Hi @KarenRobine1 we are looking into this one. Note you can get attached features from a specific version using the feature resource.

For example https://myserver.esri.com/server/rest/services/VRNVA/FeatureServer/0/3/attachments

attachments_versions.png

 

I hope that helps.

0 Kudos
KarenRobine1
New Contributor III

Yes, thank you. My name and organization is associated with the request ticket. 

0 Kudos
Raul_Jimenez
Esri Contributor

Sorry I don't understand what you mean. Which request ticket?

0 Kudos
KarenRobine1
New Contributor III

We opened a ticket with ESRI: case number #03075052. There's also an "enhancement request" associated with this. I found the Enhancement Request too:  #ENH-000146767 Add the ability to support “gdbVersion” parameter when Query Attachments operation is performed on a feature service using ArcGIS Rest API. It looks like there's been no activity. This was submitted on 2/8/22. My email is associated with the case number tied to that enhancement, so feel free to contact me directly.

0 Kudos