Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Get text of custom object menu type field in JavaScript API — Cloud Customer Connect
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

Get text of custom object menu type field in JavaScript API

Received Response
31
Views
4
Comments
edited Jun 13, 2022 4:11AM in General Technical Discussions 4 comments

Summary

Get drop down value ( not id)

Content

Hi all,

I need to get text (option) of a drop down menu field of a custom object added in contact workspace.  I have found an example in this link which suggests to use GetNameValues method but it seems to work with standard objects only. 

 http://documentation.custhelp.com/euf/assets/devdocs/november2013/Connect_Desktop_Integration_JavaScript/Content/Developer Guide/Desktop Integration Using JavaScript/Operational Overview.htm#Option_List_Lookup_Data 

Currently I am using customObject.GetCustomFieldByName(fieldName) which gives the ID of the selected value in the drop down.

Thanks,

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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