Offline Geodatabase Attachments

5072
6
Jump to solution
06-03-2014 06:10 PM
ShiminCai
Occasional Contributor III
Hi all,

We are generating offline geodatabase with the method AGSGDBSyncTask generateGeodatabaseWithParameters. When downloading features we don't want to download existing attachments as it could take ages but do want to add attachment offline. We are able to disable attachment downloading by setting AGSGDBGenerateParameters.returnAttachments = NO. The problem is that if returenAttachment is set to NO , we are not able to add attachment offline.

No attachment downloading but able to add attachment offline... How do I achieve this?

Thanks,

Shimin
0 Kudos
1 Solution

Accepted Solutions
DiveshGoyal
Esri Regular Contributor
Unfortunately, this is not possible at this time. If you do not include existing attachments while generating a sync-enabled geodatabse, you cannot later add & sync new attachments.

I encourage you to log an enhancement request for this functionality if it is critical for your workflow. You can contact Esri Support, or use http://ideas.arcgis.com/

View solution in original post

0 Kudos
6 Replies
DiveshGoyal
Esri Regular Contributor
Unfortunately, this is not possible at this time. If you do not include existing attachments while generating a sync-enabled geodatabse, you cannot later add & sync new attachments.

I encourage you to log an enhancement request for this functionality if it is critical for your workflow. You can contact Esri Support, or use http://ideas.arcgis.com/
0 Kudos
ShiminCai
Occasional Contributor III
Unfortunately, this is not possible at this time. If you do not include existing attachments while generating a sync-enabled geodatabse, you cannot later add & sync new attachments.

I encourage you to log an enhancement request for this functionality if it is critical for your workflow. You can contact Esri Support, or use http://ideas.arcgis.com/


Thanks Divesh for your clarification. I'll lodge an enhancement request. Cheers, Shimin
0 Kudos
MattCooper
Occasional Contributor

I voted on the idea enhancement, but I wanted to mention a few other comments/issues here as well.  We want to be able to capture high quality images and make them available offline.  The geodatabase eventually reaches a size where it fails to download because its too large.  We could filter the data to only sync data by date or something, but that isn't a workable solution for us either.  We have data that need to be available to view at any time and ideally with their attachments.

In addition to being able to continue collecting attachments without having the returnAttachments property = NO.  It would be really nice if we could filter the attachment table independently of the features.  For example, not all of our attachments need to be downloaded but all of the spatial/tabular data does.

Another idea is if we had the ability to select attachment quality during the sync process.  I'd like to continue to collect images in high resolution, but there is no need to have a full size image available on a device. If we could only download lower resolution images for viewing on small screens that would drastically reduce the size of the .geodatabase and avoid the issues we've been having with large .geodatabase files not downloading.  I realize we could do this on the desktop and swap out/process attachments, but at that point, there really is no benefit to attachments anymore other than handily being included in the sync process.  Michael Davis

Thanks,

Matt

0 Kudos
JeffSiemens
New Contributor II

I also wanted to mention how important this capability is. The necessity to have to download all existing attachments in order to download new attachments is insane, especially given that replicas fail to create once they reach a certain size. This is going to be non-starter for our clients.

0 Kudos
DiveshGoyal
Esri Regular Contributor

Thanks for all your feedback. At the next release of the SDK, you will be able upload attachments even if you opted to skip them while generating the initial geodatabase. You will also be able to control the behavior sync operations for attachments - whether you want to only upload, both upload and download, or nothing at all.

0 Kudos
ShiminCai
Occasional Contributor III

Hi Divesh,

How can I exclude existing attachments while generating a sync-enabled geodatabse? I'm using SDK 100.13...

Thanks,

Shimin

0 Kudos