Validate field name based on workspace

04-25-2019 12:40 PM
New Contributor II

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

0 Kudos
0 Replies