Restrict choices in Select box variable in Catalog Item

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 10:24 AM
In table cmdb_ci_appl, i have "FieldB" which is string field with the below choices
Choice 1 on table cmdb_ci_appl
Choice 2 on table cmdb_ci_server
Choice 3 on table cmdb_ci_db_instance
I have a variable on Catalog item with variable "FieldA"
Type = Select Box
Choice table = cmdb_ci_appl
Choice field = FieldB
How to get only Choice 1 (i.e. Choice defined for table cmdb_ci_appl) In "FieldA" of the catalog variable
Ryte now it displays
Choice1
Choice2
Choice3

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 11:00 AM
You can use a client script with g_form.removeOption() to remove options from a choice list.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2019 02:24 PM
I was hoping to avoid Client scripts as it introduces a lot of scripting.
Is it not possible to achieve using choice field / reference qualifier