attachmentSyncDirection

Specifies the direction for attachments to be synchronized when syncing offline feature layers. This method should be used in conjunction with GenerateOfflineMapParameters.returnLayerAttachmentOption to determine which layers should be taken offline with attachments included. This property is valid when the service resource sync capabilities includes supportsAttachmentsSyncDirection otherwise it is ignored.

This property works in conjunction with GenerateOfflineMapParameters.returnLayerAttachmentOption and in some cases may have its value overridden by GenerateOfflineMapParameters.returnLayerAttachmentOption.

The table below shows the valid combinations of values for layer attachment options and attachment sync direction. The notes column explains where the behavior for a given layer may differ from the values set for these properties.

ReturnLayerAttachmentOption.NoneAttachmentSyncDirection.None
AttachmentSyncDirection.Upload
ReturnLayerAttachmentOption.AllLayersAttachmentSyncDirection.Upload
AttachmentSyncDirection.Bidirectional
ReturnLayerAttachmentOption.ReadOnlyLayersAttachmentSyncDirection.NoneLayers with attachments will treat this as AttachmentSyncDirection.Bidirectional
AttachmentSyncDirection.Upload
AttachmentSyncDirection.BidirectionalLayers without attachments will treat this as AttachmentSyncDirection.None
ReturnLayerAttachmentOption.EditableLayersAttachmentSyncDirection.NoneLayers with attachments will treat this as AttachmentSyncDirection.Bidirectional
AttachmentSyncDirection.Upload
AttachmentSyncDirection.BidirectionalLayers without attachments will treat this as AttachmentSyncDirection.None

If GenerateOfflineMapParameters is used in conjunction with GenerateOfflineMapParameterOverrides this property is superseded.

Since

200.1.0