I have a model that iterates through a single field (such as Name) and selects out each name in that field and ultimately creates a KML layer as the last output of each name in the field by using an in line varible (For Example %Value%). The goal is to have a tool that one can input any shapefile, choose their desired field of choice, and have the tool iterate and create KMLs of each individual value in that chosen field. The issue is right now the tool works fine when I open it in the Edit window and add the data there in the ModelBuilder window but I was hoping to be able to run it like a traditional tool in ArcMap by clicking open and adding the data there. I have set every output from each tool in the model as a parameter so I can control where the temporary files are being stored at every step.
How can I get a successful model that runs in the edit window but not from the open window?