How to get the display name of the combo box value ?
Summary
How to get the display name of the combo box value ?Content
Hey,
I'm trying to get the value of a Single select list (Combo box) from the Form UI into the custom code. I'm using "$SearchAccountEntityDetailArchetypeRecord.getValue('ref2BusinessUnit');" where ref2BusinessUnit is the variable name of the combo box. But using this, I get the ID of the value(option of combo box), not the display name.
So, can you please please help me with a way where I can get the display name of the option value?
P.S. I've also tried using "$SearchAccountListArchetypeRecord.getValue('ref2BusinessUnit')". But this did not fetch me anything. Returned null.
1