wgrc

Strange Behavior on InfoTemplate

Discussion created by wgrc on Jan 3, 2014
Latest reply on Jan 3, 2014 by JUihlein-esristaff
Has anyone seen this odd output from the InfoTemplate? (see screen shot)

thisAttr = JSON.stringify(obj[x]);
                        //alert(thisAttr);
                        thisInfoTemplate = new esri.InfoTemplate("Header", "${*}");
                        graphic = new esri.Graphic(thisPoint, ptSymbol, thisAttr, thisInfoTemplate);

See screen shot result when I try the global wildcard.   When I try a specific field like $(comName) nothing is returned.  Data is coming from a JSON result from web request, but even if I manually hard wire the attributes in the format specified in the API - sams result?

Attachments

Outcomes