Hi, I have a feature class joined to a standalone table and published as a map service. I have a simple JavaScript webapp.
And when I run this script, I only get the field names from the original feature class (and nothing from the joined table).
var attributes = feature.attributes;
for (var attributeName in attributes) {
if (attributes.hasOwnProperty(attributeName)) {
alert(attributeName + " : " + attributes[attributeName]);
}
How do I retrieve the list and values of all the fields from the joined table?
Thanks!