SyncGeodatabaseJob QML Type

Job that synchronizes changes to a local geodatabase back to a feature service."> SyncGeodatabaseJob QML Type | ArcGISQtQml
  • Esri.ArcGISRuntime
  • SyncGeodatabaseJob
  • A Job that synchronizes changes to a local geodatabase back to a feature service. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.0
    Inherits:

    Job

    Properties

    Signals

    Detailed Description

    The job is returned by the GeodatabaseSyncTask::syncGeodatabase method.

    The result of this job is a list of SyncLayerResult objects, each of which contains the layer ID or table name that each SyncLayerResult refers to.

    The result can be retrieved after this job's status changes to Enums.JobStatusSucceeded.

    This list will be empty for a successfully completed job. If individual edits failed then the result array provides these errors grouped by each table using the SyncLayerResult instances. These contain information for each edit error as a FeatureEditResult.

    Note: You cannot declare or create a component of this type in QML code.

    See also GenerateGeodatabaseJob.

    Property Documentation

    [read-only, since Esri.ArcGISRuntime 100.10] geodatabaseDeltaInfo : GeodatabaseDeltaInfo

    Returns information on geodatabase upload and download delta files (read-only).

    When SyncGeodatabaseParameters::keepGeodatabaseDeltas is set to true, this property provides information about the synced geodatabase along with the paths to its uploaded and downloaded deltas.

    Delta geodatabases allow you to troubleshoot sync problems - for example by inspecting the changes they contain or sending the file to the system administrator for the feature service.

    This property will be set even if the job fails. If SyncGeodatabaseParameters::keepGeodatabaseDeltas is false, this property will be null.

    This property was introduced in Esri.ArcGISRuntime 100.10.


    [read-only] syncLayerResults : list<SyncLayerResult>

    For a successfully completed job, an list of SyncLayerResult is returned.

    If all edits to the geodatabase's tables and layers are synced successfully, an empty list is returned (read-only). If the job did not succeed, a null result list is returned.

    If the job succeeded, but individual edits failed to sync, the result list provides an list of each failed edit operation (FeatureEditResult) grouped by the geodatabase table name. Only errors are reported.

    If the list is empty, it should be assumed all edits were synchronized properly and no edit errors were encountered during the sync process.


    Signal Documentation

    [since Esri.ArcGISRuntime 100.10] geodatabaseDeltaInfoChanged()

    Emitted when the geodatabaseDeltaInfo property of this SyncGeodatabaseJob changes.

    Note: The corresponding handler is onGeodatabaseDeltaInfoChanged.

    This signal was introduced in Esri.ArcGISRuntime 100.10.


    syncLayerResultsChanged()

    Emitted when the syncLayerResults property of this SyncGeodatabaseJob changes.

    Note: The corresponding handler is onSyncLayerResultsChanged.


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.