AnsweredAssumed Answered

Python Tool Parameter Validation Help

Question asked by bem08c on Aug 22, 2016

Hi GeoNet Help Friends, 


I'm trying to update an old tool that my organization has been using (not created by me). 


The old tool has a parameter validation step where it checks a value in a specific field within a shapefile against a CSV that is being stored on the users C drive. The problem is, in the parameter validation step the code has you look for the CSV under the path name "C:ValueCheckSheet". I'm sure you noticed that there are no backslashes after "C:". However, the tool doesn't always fail this step. Sometimes it says it cant find the CSV and sometimes it runs fine without any hitches. Does anyone know why this would happen. I know its any easy fix, i'm just trying to figure out why it works sometimes and not the others.