Enable Replica Tracking (Data Management)

Summary

Enables replica tracking on data, allowing you to work with offline maps and in distributed collaborations. 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 data, 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 has replica tracking enabled, run this tool on the feature dataset to enable replica tracking on the new feature classes.

  • The following utility network system tables are included when you enable replica tracking:

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

Parameters

LabelExplanationData Type
Input Dataset

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

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 replica tracking will be enabled.

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.management.EnableReplicaTracking("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