Set value for reference field as a choice list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2020 01:19 PM
HI,
I have a reference field and I have it set up as a choice list (drop down list).
I am trying to set the value of this field via client script. I can set the value of the reference field. However, the display value is not selecting.
I have used to set the value for the reference field just fine so it is not a problem of the values
setValue(String fieldName, String value, String displayValue)
However, once i changed it to be a choice list, by selecting "Dropdown with -- None -- " in the dictionary, the script no longer works.
Any idea how to set the value of a reference field when it is displayed in a choice list format?
Thanks,
Sam
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2021 06:49 AM
Unfortunately, I never found the answer and haven't looked into it since. We just used the normal reference field instead.
Sam