AnsweredAssumed Answered

3.10 label layer change not working?

Question asked by weralio on Sep 4, 2014
Latest reply on Sep 17, 2014 by gettingready

Upgrading to 3.10 I found in the documentation at what's new ( What's new in Version 3.10 | Guide | ArcGIS API for JavaScript )

 

Label layer changes: Labeling expressions no longer use ${field} syntax but now use {field}. In other words, popup template syntax instead of info template syntax.

 

 

I've changed it accordingly and the {CASENUMBER} text is displayed instead of the value

 

lomaLabels.addFeatureLayer(featureLayerLOMA, lomaLabelRenderer, "{CASENUMBER}" ,{pointPriorities:"AboveLeft"});

 

I really need this since I'm struggling with ${} been confused with a TAG and my program blows out with the error org.apache.jasper.JasperException: The attribute prefix CASENUMBER does not correspond to any imported tag library

Outcomes