Feature Layer defintion expression question

Discussion created by dblaisdell on Feb 9, 2012

Working with a feature layer and attempting to set a definition expression to limit the number of features displayed.  The attribute used in from the feature layer has a coded domain value with a short integer data type.  From the Javascript api reference this method requires a string.  How do I get a string value for the set definition expression to work properly?

Thanks in advance