Enable Replica Tracking (Data Management)

Summary

Enables replica tracking on data, allowing you to work with offline maps. Replica tracking applies to services that are configured with the sync capability with the option of creating a version for each downloaded map.

To disable replica tracking on your data, you can use the Disable Replica Tracking tool.

Learn more about preparing data for offline use

Usage

  • The input dataset must be from an enterprise geodatabase and use one of the following registration types:

    • Branch versioning
    • Nonversioned archiving

  • This tool must be run as the data owner.

  • If new feature classes are added to a feature dataset that already has replica tracking enabled, you can run this tool on the feature dataset to enable replica tracking on the new feature classes.

  • In ArcGIS Pro 2.7, the following utility network system tables are included when you enable replica tracking:

    • UN_<ID>_ASSOCIATIONS
    • UN_<ID>_RULES
    • UN_<ID>_SUBNETWORKS

  • Note:

    Once replica tracking has been enabled, the following minimum client versions can access the dataset:

    • ArcGIS Pro 2.6 for branch versioned datasets
    • ArcGIS Pro 2.7 for nonversioned archiving datasets
    This means you will not be able to open the data in ArcGIS Desktop or earlier versions of ArcGIS Pro.

Parameters

LabelExplanationData Type
Input Dataset

The enterprise geodatabase table, feature class, feature dataset, attributed relationship class, or many-to-many relationship class on which to enable replica tracking.

Table; Feature Class; Feature Dataset

Derived Output

LabelExplanationData Type
Updated Dataset

The updated input dataset with replica tracking enabled.

Table, Feature Class, Feature Dataset

arcpy.management.EnableReplicaTracking(in_dataset)
NameExplanationData Type
in_dataset

The enterprise geodatabase table, feature class, feature dataset, attributed relationship class, or many-to-many relationship class on which to enable replica tracking.

Table; Feature Class; Feature Dataset

Derived Output

NameExplanationData Type
updated_dataset

The updated input dataset with replica tracking enabled.

Table, Feature Class, Feature Dataset

Code sample

EnableReplicaTracking example (Python window)

Enable replica tracking on a feature class.

import arcpy
arcpy.EnableReplicaTracking_management("C:\\MyProject\\mySdeConn.sde\\database.user1.stores")

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics