I made a join between a feature class and a table. Want to show the labels from the table, for which I use the following expression, it raises an error "bad-arcade-expression". Can someone help me on how can I solve this? Thank you
LabelField = TableNmae.Fieldname
labelExpressionInfo: {
expression: "$feature." + LabelField
}
Solved! Go to Solution.
Field names of joined tables have to be called using bracket notation.
The resulting Arcade expression should look like this:
$feature["TableName.FieldName"]
Field names of joined tables have to be called using bracket notation.
The resulting Arcade expression should look like this:
$feature["TableName.FieldName"]
Perfect , Thank you