Object detailing the available offline editing options.

Referenced by: offline

Properties

PropertyDetails
downloadWhen editing layers, the edits are always sent to the server. This string value indicates which data is retrieved. For example, none indicates that only the schema is written since neither the features nor attachments are retrieved. For a full sync without downloading attachments, indicate features. Lastly, the default behavior is to have a full sync using featuresAndAttachments where both features and attachments are retrieved.
Valid values:
  • features
  • featuresAndAttachments
  • none
syncThis string value indicates how the data is synced.
Valid values:
  • syncFeaturesAndAttachments
  • syncFeaturesUploadAttachments
  • uploadFeaturesAndAttachments

editableLayers Example

{
"download": "featuresAndAttachments",
"sync": "syncFeaturesAndAttachments"
}