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.
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)
Parameter | Explanation | Data 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
Name | Explanation | Data Type |
updated_dataset | The updated input dataset with replica tracking enabled. | Table, Feature Class, Feature Dataset |
Code sample
Enable replica tracking on a feature class.
import arcpy
arcpy.EnableReplicaTracking_management("C:\\MyProject\\mySdeConn.sde\\database.user1.stores")
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes