Is This Content Helpful?
We're glad to know this article was helpful.
The HTML Viewer Thematic Map sample was developed for shapefiles, not for ArcSDE layers. It queries the features by the following WHERE clause:
Since the field #ID# does not usually exist in an ArcSDE table, the classification does not work with ArcSDE layer.
theString += ' <QUERY subfields="' + theField + '" where="#ID# > -1" />\n';
theString += ' <QUERY subfields="' + theField + '" where="" />\n';