I have a workflow that wil use a definition query to select a subset of point data that will be exported from SDE to a 3rd party. One of the attributes is a subtype where there are 14 subtypes. When I export the data, the subtype remains as a number rather than a description. What I need to do is come up with a python expression to replace all of the different subtype numbers with the descriptions. I have found where I can replace subtype with the description, but how do I do all of them at once? This is what I came up with: !Fieldname!.replace("subtype1","description1").("subtype2","description2")........("subtype14","description14) When I run this, I get a ERROR 000539 I'm new to Python so any help would be appreciated.
... View more