You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to get the display name of the combo box value ?

edited Apr 18, 2018 7:00AM in Visual Builder

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!