AnsweredAssumed Answered

Validate field name based on workspace

Question asked by corpy_123 on Apr 25, 2019

Is there a way to validate a user entered field name based on whether the datatype is a shapefile or file geodatabase using the Pro API without having to use geoprocessing?


I know there is an ArcPy function called ValidateFieldName that I could probably call from the API. But since this is only a function and not a tool, I believe I would have to create a tool in python and add it to the user’s computer in order to access it from my add-in. This is something that I do not want to do.


Thanks for your help