If I go ahead and define my info template for a layer like so:
infoTemplate: {
title: '<b>District Info</b>',
content: 'Location: ${local}<br>Name: ${lName}<br>Short Name: ${sName}<br>Status: ${statusValue}'
}
}
How do I make sure that the value displayed in these fields are the coded value description and not just the code.
EXAMPLE:
If the code is 1 and it represents the value "foo" how do I display "foo" in my Info Window instead of the value 1, b/c right now all I am is getting is 1.