Generate Geodatabase Parameters
An object that represents the parameters to a generate method on a geodatabase sync task.
Constructors
Create a parameters object for use with the generate method on the geodatabase sync task.
Functions
Clones the GenerateGeodatabaseParameters.
Properties
Specifies the direction for attachments to be synchronized. This parameter is available when the service resource sync capabilities includes supportsAttachmentsSyncDirection. This parameter defines how attachments will be synced and is only applicable if the feature service has attachments. AttachmentSyncDirection.Bidirectional - Attachment edits can be both uploaded from the client and downloaded from the service when syncing. AttachmentSyncDirection.Upload - Attachment edits can only be uploaded from the client when syncing. This is useful in cases where the data collector does not want to consume space with attachments from the service, but does need to collect new attachments. AttachmentSyncDirection.None - Attachment edits are never synced from either the client or the server. When GenerateGeodatabaseParameters.getReturnAttachments() is set to true, you can set GenerateGeodatabaseParameters.getAttachmentSyncDirection() to either AttachmentSyncDirection.Bidirectional (default) or AttachmentSyncDirection.Upload. In this case, create replica includes attachments from the service. When GenerateGeodatabaseParameters.getReturnAttachments() is set to false, you can set GenerateGeodatabaseParameters.getAttachmentSyncDirection() to either AttachmentSyncDirection.Upload or AttachmentSyncDirection.None (default). In this case, the geodatabase does not include attachments from the service. Attachment sync direction is set during the GeodatabaseSyncTask.createGenerateGeodatabaseJob(GenerateGeodatabaseParameters, String) operation and cannot be overridden during GeodatabaseSyncTask.syncGeodatabase(SyncGeodatabaseParameters, Geodatabase).
Specifies whether Annotation data is to be included from the service, when generating, or downloading to, an offline geodatabase. Feature layers and tables are always included in the generation and synchronization of the geodatabase. Annotation data can be optionally included when downloading from the service.