Show / Hide Table of Contents

Property AttachmentSyncDirection

AttachmentSyncDirection

Gets or sets a value that specifies the direction for attachments to be synchronized when syncing offline feature layers. This method should be used in conjunction with ReturnLayerAttachmentOption to determine which layers should be taken offline with attachments included.

Declaration
public AttachmentSyncDirection AttachmentSyncDirection { get; set; }
Property Value
Type Description
AttachmentSyncDirection

A value indicating the direction to sync attachments.

Remarks

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

This property is valid when the service resource sync capabilities includes supportsAttachmentsSyncDirection otherwise it is ignored.

This property works in conjunction with ReturnLayerAttachmentOption and in some cases may have its value overridden by 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.

Layer Attachment Option Valid Attachment Sync Direction Note
None None
Upload
AllLayers Upload
Bidirectional
ReadOnlyLayers None
Upload
Bidirectional
Layers with attachments will treat this as Bidirectional

Layers without attachments will treat this as None
EditableLayers None
Upload
Bidirectional
Layers with attachments will treat this as Bidirectional

Layers without attachments will treat this as None

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

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7
In This Article
Back to top Copyright © 2022 Esri.