
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2016 06:32 AM
In reviewing the Service Portal, I've noticed that they item widget does not seem to accept a reference qualifier I have on some of my variables on a few items.
The variable is a Lookup Select Box type variable that references another table using the sys id as the lookup value field.
The qualifier is calling a script include to return sys id's for a reference field.
This all works in the base standard catalog, but does not show any selections in the Portal.
Any ideas on what may be the issue?
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2017 01:18 PM
I was able to get this working by changing the variable type to Reference.
Not a great UX in the catalog, but from the Service Portal the UI is nearly identical. When it is a reference, it appears the reference qualifier is run when you click on that field rather than just onload as with the Lookup Select variable type.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2018 09:39 AM
I have a portal request for managers to order food for their teams. Each vendor has a minimum number of meals which can be different. I have a field called 'number_of_people which determines which qualifies the vendor query. I created a script include which returns the generated reference qualifier.
Here is how it's set up:
Reference Variable
Script Include:
This works like a charm. I used Will's PowerPoint posted above as a reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2018 09:27 AM
This helped me a lot, thank you!