How to get all the choice values in a script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2015 04:17 AM
Hi,
I am trying to get all the choice option values in a client script to verify whether the choice field has a particular choice option in it,if not I want to create that option dynamically.
Could someone suggest me,whether we have any method to get the list of choice values in script.
Thanks in advance......
Thanks,
Anusha.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2021 08:59 AM
For anyone looking to get the choice options available for a field that is supported by (Catalog) client script and works in Service Portal/Mobile: