Solved! Go to Solution.
result.features[0].attributes['dbasename.user.fieldID']
I issue a query from a layer in my map service that has a join to a table in SQLServer. Typically I can get the value by using a construct such as 'result.features[0].attribute.fieldID' However, the field names in the joined table have names such as "dbasename.user.fieldname" If I use the periods in my previous construct like 'result.features[0].attribute.dbasename.user.fieldID' it of course will not run.
What is a quick and easy way to get around the dots in the field names?
result.features[0].attributes['dbasename.user.fieldID']
I issue a query from a layer in my map service that has a join to a table in SQLServer. Typically I can get the value by using a construct such as 'result.features[0].attribute.fieldID' However, the field names in the joined table have names such as "dbasename.user.fieldname" If I use the periods in my previous construct like 'result.features[0].attribute.dbasename.user.fieldID' it of course will not run.
What is a quick and easy way to get around the dots in the field names?
how to access it in popup template when using $feature ?