I'm trying to use the Iterate Row Selection function to collect values from one feature, and then create a series of new Fields in another feature using the collected values as Field Names. There will be a different number of values each time this tool is run.
Any tips on how to build the model to run this successfully?
Each time I try it I only get one value being returned and a single field created
I need to do this in ModelBuilder as this will be a repeated task going forward.
I'm struggling with the Add Field + Field Name component and the Iterate Row Selection function as I try to build out the field names from the Values.
UPDATE: the iterator Value was coming out as an integer, and the Add Field tool would not accept a field name that starts with a number. However, by using "%Value%" instead, and making the connector a precondition the model now works.