I am trying to buld a replica log and trying to get the list of feature classes in a replica
can get the list of replica but I can't access it's properties and see the list of feature classes
Here is the code I am trying to execute
import arcpy
import os,sys
sdeConnection = r"Database Connections/abc@GISEDIT.sde"
# Print the name of the replicas
file1=open('C:\\TEMP\\log.txt', 'w+')
for replica in arcpy.da.ListReplicas(sdeConnection):
file1.write(replica.name+"\n")
I can get the list of replicas but can't get the properties> feature classes in those replicas . Any help ?