Select to view content in your preferred language

Apply domains from one FC to a different FC that has the same fields

438
3
10-20-2023 12:29 PM
Status: Open
Labels (1)
Bud
by
Honored Contributor

I have FC1 and FC2 in a geodatabase. Both have the same fields.

FC1 has domains applied to some of the fields. FC2 does not.

I want to apply the domains used in FC1 to FC2. I'm aware I can do that manually. But for cases when there are a large number of fields with domains, it would be better to do it with a tool.

3 Comments
RandyCasey

ESRI, Assign Domain To A Field is a GP Tool, and I know it can be used in a Python script that iterates over a table and apply domains in a recursive manner that the @Bud is requesting, BUT, that takes some Python skills that not all users have. You could easily modify this GP Tool to incorporate a field to domain mapping parameter much like the field mapping in a lot of the other GP Tools. Please consider this request. It would be a very useful tool to ALL of your users!

SSWoodward

Thanks for the Idea @Bud,

Are these existing populated classes or are you creating new classes and you want to duplicate the schema?

Bud
by

@SSWoodward They're existing populated feature classes. I'm aware that I can import a schema when creating a new FC. Thanks.