AnsweredAssumed Answered

Issue querying parcel data for display in an infoWindow

Question asked by GilvarryCW on Mar 4, 2013
Latest reply on Mar 4, 2013 by geonetadmin
I'm attempting to query a parcel layer and display the information in a popup infoWindow when I click on a parcel, and I'm having some issues dealing with different datatypes.

var content = "<b>Address</b>: ${ADDR}" + "<br /><b>Owner Name</b>: ${OWNER}" + "<br /><b>Parcel ID</b>: ${APN}" + "<br /><b>City</b>: ${CITY}" + "<br /><b>Acres</b>: ${TOTAL_ACRES:NumberFormat}" + " <br /><a href='${COUNTY_LINK}'>County Assessor Site</a>"    var popUpTemplate = new esri.InfoTemplate("Parcel", content);

The ADDR, OWNER, APN, COUNTY_LINK and CITY datatypes are all string so they appear in the infoWindow without issue, but I'm having trouble getting TOTAL_ACRES to appear.

TOTAL_ACRES is a double, and i thought that using the dojo.number.format method as outlined in the documention would help, but it doesn't seem to do anything.

I've included some screetshots of the data in arcmap, in case that can be of any help:

Any help would be greatly appreciated!