Does anyone know how to get dropdown text value in...
# general
s
Does anyone know how to get dropdown text value in a ‘payment file format’ from the bundle ‘Electronic Bank Payments’. It uses freemarker. I have {entity.state} that returns state’s alphabetic code. I need the text value of state.For example {entity.state} gives CA for California. I need the State name ‘California’ in the payment file format. I tried {entity.state.text} {entity.state.name} {entity.state.fullname}, returns empty
watching following 2
j
@Shob S I think you need {statedisplayname} so in your case I guess {entity.statedisplayname}. Try that and see if it works.
s
Thankyou @James Morris It worked like a charm. 🙂