When using the Esri Geoprocessing tool to copy (selected) features from one feature Layer in an asset package file geodatabase to another empty Feature Class inside another Asset Package. The features are copied over correctly but all relationship classes, field domains, Subtypes and one of the global ID indexes are missing.
The various field domains are present in the new file geodatabase but the fields in the new feature class do not retain their domain specifications. Subtypes are missing and any relationship classes. Also, global id Indexes are not copied.
We are running the Copy Feature geoprocessing tool in ArcGIS Pro version 2.9.1 with all of the default environment settings.
Any thoughts or ideas are greatly appreciated.
copy features supports a bunch of environment settings
Copy Features (Data Management)—ArcGIS Pro | Documentation
like
Transfer field domain descriptions (Environment setting)—ArcGIS Pro | Documentation
check your environments and see what can be improved
Thanks Dan,
I had tried all those settings too, but still having the above issues.
Try the Copy command https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/copy.htm
It should take everything
thanks for the advice, this does work, but unfortunately I am only looking to copy only selected features from a feature layer and not just the whole feature class.
@JasonKSanford The recommended steps will be to create and configure the Utility Network from the asset package and then copy the utility network dataset for migration purposes. If you must copy at the asset package level, suggest duplicating the entire file GDB if you are running into issues. Additional documentation can be found at Utility network dataset administration. I also moved your post to Utility Network Questions.
Thank Ayan,
That's what I did as a workaround. I copied the entire asset package and then deleted the features in the feature classes that I did not need. I was hoping for performance purposes to be able to copy selected features instead, as it is only a small portion of the overall asset package features that I was interested in.
Thanks