AnsweredAssumed Answered

Parse a featureLayer label expression

Question asked by Randy.Breeser_noaa on Mar 23, 2017
Latest reply on Mar 23, 2017 by thejus.kambi

I need to parse a string out of a featurelayer field to create a label, can anyone point me to a solution. The labelExpressionInfo looks like the following;

var HYjson = {                    

labelExpressionInfo:{                    

   expression: "$feature.link"                                          

 }                      

};

what I need to do would be something that accomplishes what would be a substr(-5) on the expression.

Outcomes