- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2019 10:32 PM
Hello
I've created a variable set with two variables: one is a select box 'Site', the other one is a lookup select box 'Warehouse' displaying values based on the 'Site' selection. This variable set is attached to several catalog items and this works fine on console and portal.
However, I have a case on a catalog item where the site should not be selected by the user. For that item, I've created an onLoad catalog client script that set the default value for 'Site', together with a catalog UI Policy that set the 'Site' field to read-only.
When requesting this item thru the console, it works fine: the list in the 'Warehouse' field is populated depending on the 'Site' value. However, this is not working on the portal. The default value is set for 'Site' but it seems it is not taken into account in the lookup select box.
Any idea is welcome!
Thank you in advance
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2019 07:11 PM
Thank you for your help.
Actually, changing the variable type from lookup select box to reference, with the same reference qualifier does the trick

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2019 11:32 PM
can you please confirm on below points ?
the list in the 'Warehouse' field is populated depending on the 'Site' value
Q, Have you written client script to populate this ? if yes can you please confirm the client script UI Type set as ALL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2019 12:11 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2019 12:19 AM
can you paste your script ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-10-2019 01:46 AM
Hello,
You can this through catalog client script and script include.
For code and more information visit below link.
Please mark as Correct and Helpful if you find any help.