How to set default value of variable in catalog item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-17-2020 08:52 PM
HI All,
I have a catalog item with variable( sub-state) and when we submit the catalog a new record is created on the hardware table. I have created a onload catalog catalog client script, which sets the value of sub-state to available. when i open this record in the hardware table, the new choice is getting created rather than the old value being used. i have used the sys_is of the record in catalog script. .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-19-2020 02:07 AM
Check all the choice values you have given correct or not.
Check catalog item sub-state variable question choices and hardware table sub-state choice names are same or not. Avoid spaces also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-19-2020 02:58 AM
the values are populating from the sys_choice table. so its correct.. we have not created new choices for the variable..