AnsweredAssumed Answered

ModelBuilder. Rename shapefile names using Iterator and CSV

Question asked by MoriJLumos on Jun 23, 2015
Latest reply on Jun 23, 2015 by MoriJLumos

Hi, I had this idea, but I just can't figure out exactly how to execute it.

I have a model with an iterator that separates a shapefile based on the Numerical Layer in the attribute table. What I ideally need is to name the layers based on the physical Name of the layer that is not in the attribute table, so I created a "dictionary" using a csv file that contains two fields, the numeric layer name that is in the attribute table and the physical name I eventually wanted in the file name.

I just can't seem to figure out how to connect the two aspects of the model so it pulls from the data dictionary into the final file names.

Below is the model, and the CSV Table.