Select to view content in your preferred language

Add Fields (multiple) could import from existing table or feature class template

4551
11
10-08-2021 10:41 AM
Status: Implemented
Labels (1)
TimMinter
Frequent Contributor

I'm building a ModelBuilder model and I want to re-use the fields in an existing geodatabase table to populate and then edit the "Add Fields (multiple)" GP tool.  I will craftily move those fields around to change their order ;-), change the definitions on a couple of them, remove some, and add some.  Do I want to manually enter all 79 (or worse) of those fields and risk going over the limit of however many clicks I have left in my carpal tunnels?  No, I do not.  Nope.  What I want is to import the fields from my template table to populate the "Add Fields (multiple)" GP tool and then burn some clicks on the arguably valuable changes.  Can I do it?  Nope, not yet in ArcGIS Pro 2.8.2 (2.8.3 is out, but release notes don't suggest an update would help me with this idea).  Would love to be able to do it soon.

TimMinter_0-1633714625389.png

TimMinter_1-1633714634812.png

Stringing up those two GP tools does not populate the "Add Fields (multiple)" field list.  Tried, failed.

tim

11 Comments
Michele_Hosking

Thanks for the reply @DrewFlater - that's a great idea.  I will definitely tuck your python script away somewhere safe and use it in the future. Good to know the issue with the Add Fields (multiple) tool will be sorted as well though.