Strange Behavior on InfoTemplate

486
1
01-03-2014 09:42 AM
GregConiglio
New Contributor III
Has anyone seen this odd output from the InfoTemplate? (see screen shot)

thisAttr = JSON.stringify(obj);
                        //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?
0 Kudos
1 Reply
JonathanUihlein
Esri Regular Contributor
Hi Greg,

I'm 95% sure I've seen this issue before but couldn't find the thread.
Could you replicate the issue in a http://jsfiddle.net/ so I can check out the code in action?

It might refresh my memory...
Thanks!
0 Kudos