2

I'm encountering an issue where features that I'm copying from a feature class in a file geodatabase are all going to a single subtype when I paste them in the destination feature class in an enterprise geodatabase (Versioned). Subtypes are identical in both feature classes. The paste operation is not honouring the subtype of the original data.

I'm using ArcGIS 10.3.1.

My workflow:

  1. Start an edit session on a version of an enterprise geodatabase.
  2. Select 15 features in a file geodatabase feature class called SewerMaintenanceHoles.
  3. Copy these features and paste them into the corresponding feature class in the enterprise geodatabase. It is also called SewerMaintenanceHoles.
  4. Because the destination feature class contains a subtype (which is identical to the source feature class subtype), I get the following option when I paste: enter image description here

You can see in the attribute table the source values are shown and there are 3 different possible values (Maintenance Hole, Maintenance Shaft and TEP). I don't want to paste all the features into a specific subtype. I want the paste to honour the original values in the source feature class. So, I chose the top level (Sewer_Maintenance_Holes). I thought that would paste the features into their corresponding subtype. What is happening instead is that all features are pasting to the default subtype which is Maintenance Hole.

enter image description here

Note, USE is an alias for the Subtype field. But, they're all coming in as Maintenance Hole.

enter image description here

How can I get the original subtype values to come through to the destination feature class?

1

Tested that pasting does not respect the subtypes on 10.5.1. Tested on 10.3.1 and the results are the same; the values are being inserted into a default subtype. I've reported this to the Tech Support; there is a bug registered BUG-000111885: Pasting the features between the feature classes does not respect subtype. Your only option is to use the GP tool. Please note that this behavior can be observed on any type of geodatabase (file to file or file to enterprise).

As a workaround, you could just use the Append GP tool (without specifying a particular subtype); both on 10.3.1 and 10.5.1 this also loads features into their respective subtypes (respecting the selection so you can load only the features you need).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.