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
}