order guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2025 01:10 AM
Hi,
I have created order guide with 3 catalog items. Based on "Rule Base" Catalog items are shown in order guide.
We have choice field in one of the catalog item and we want to remove few choices from the catalog item in order guide without affecting the original catalog item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2025 01:19 AM
To remove choices from a catalog item field only in an Order Guide, create a Catalog Client Script (onLoad) in the Order Guide context:
if (g_form.getParameter('sysparm_guide') != '') {
g_form.removeOption('field_name', 'value1');
g_form.removeOption('field_name', 'value2');
}
This hides the choices only in the Order Guide without affecting the original catalog item.