Enable Replica Tracking (Data Management)

Summary

Enables replica tracking on your data.

Enabling replica tracking on your dataset allows your data to work with offline maps that have branch versioned data with the option of creating a version for each downloaded map.

Learn more about preparing data for offline use

Usage

  • The input dataset must be from an enterprise geodatabase.

  • The input dataset must be registered as branch versioned.

  • This tool must be run as the data owner.

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

  • 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.

  • This tool supports an attributed relationship class or a many-to-many relationship class as the input dataset.

  • Note:

    Once replica tracking has been enabled on a dataset, the minimum client version will be set to ArcGIS Pro 2.6. This means you will not be able to open the data in ArcGIS Desktop or earlier versions of ArcGIS Pro.

Syntax

EnableReplicaTracking(in_dataset)
ParameterExplanationData Type
in_dataset

The enterprise geodatabase table, feature class, feature dataset, or attributed 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