Hello,
I recently just updated geoprocessing python script tools to use more of the API for python for processing AGOL hosted feature layers that are also in the scripts downloaded to local file geodatabases.
Previously I had used the arcpy tool below which maintains attachments.
arcpy.FeatureClassToFeatureClass_conversion
However in the following updated snippet I do not see the photo attachments in the downloaded feature class. Is there an additional setting I need to set to maintain attachments? Or maybe there just aren't attachments in a spatially enabled dataframe to even export?
fn_df.spatial.to_featureclass(location=out_features, sanitize_columns=False)
I'm using ArcGIS API for Python 2.0.1 with ArcGIS Pro 3.0.3
Thanks,
Kathy