
- 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
‎01-03-2017 02:29 PM
You need to pass the u_natural_gas into your script include. Set the Reference qual to:
javascript:getPipelineProduct(current.variables.u_natural_gas)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2017 05:46 AM
The issue is not that the advanced reference qualifier does not work (it works as expected in the standard catalog UI), but that it does not work in the Service Portal.
Script include works fine without passing the value as I pull from current in the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2017 06:21 AM
- 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
‎01-09-2017 01:21 PM
Yeah, I just discovered that as well.
I just hate to bring it to the users when they are used to the lookup select box (they have 3 layers they have to select, so it is quicker for them than the reference types).