1

This question already has an answer here:

I made a quick little tool in ModelBuilder to add specific fields based on a precondition (checked boxes). The issue I'm having is that if any of those fields already exist in the feature I'm trying to add fields too, the tool won't run. Sometimes some of the fields already exist in a feature, and I'm wanting to just add the missing ones. I could delete the existing fields, but then I would lose the data in those fields.

I've found info on a If-Field-Exists logical tool, but I can't seem to find it within Model Builder.

Is this a tool found only in ArcGIS Pro?

enter image description here

enter image description here

marked as duplicate by PolyGeo May 28 at 0:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

You are correct. The If Field Exists tool is a tool that is in ArcGIS Pro but not available for ArcMap.

If you need to do something similar then a workaround is documented in the ArcMap help as Using If-Then-Else logic for branching, and it is the subject of at least one Q&A here: Using Python Script tool in ModelBuilder to check if field exists, if not, create one?

Not the answer you're looking for? Browse other questions tagged or ask your own question.