Select to view content in your preferred language

Add Multiple Fields and in Model Builder

2181
4
Jump to solution
08-11-2016 06:58 AM
LarisaJohnstone
Occasional Contributor

Hi folks,

I am very new to model builder and I am kind of stuck. I have one file that I need to add multiple new fields too. I know I need to use an Iterator... Multivalue?? But I am not sure HOW to actually use it. I don't think I am entering the parameters correctly. any help would be great....

Thank you

0 Kudos
1 Solution

Accepted Solutions
ChrisDonohue__GISP
MVP Alum

You can just connect them all.  Here's a rough example (I didn't clean up the labeling of the processes):

add_fields.jpg

Chris Donohue, GISP

View solution in original post

4 Replies
ChrisDonohue__GISP
MVP Alum

You may not need an iterator - it all depends on how many fields you are adding.  If you are just adding a handful of fields to one file, I would suggest the pragmatic approach of just having several Add Fields functions chained together in a row in Modelbuilder (one after another).

Add Field - ArcGIS Help (10.2, 10.2.1, and 10.2.2)

How many fields do you need to add?

Chris Donohue, GISP

LarisaJohnstone
Occasional Contributor

I have 4 fields to add. I suppose I can add them individually. I was not sure what the best method was. Do  I just add in 4 instances of the Add Field tool and connect them all back to the original file?

0 Kudos
ChrisDonohue__GISP
MVP Alum

You can just connect them all.  Here's a rough example (I didn't clean up the labeling of the processes):

add_fields.jpg

Chris Donohue, GISP

LarisaJohnstone
Occasional Contributor

Thank you This is really helpful! I appreciate it.

0 Kudos