- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
Hi Everyone,
I’m trying to set a reference qualifier dynamically on a Lookup Select Box variable in a catalog item by using another variable’s value.
Right now, I’m using the following script as the reference qualifier:
javascript: "" + current.variables.topic_path_filter;
This works perfectly when the catalog item is opened through Employee Center, but the same setup does not work in the Native UI.
I’m looking for a solution that will work consistently in both Employee Center and Native UI.
Has anyone faced this issue or found a workaround? Any help would be appreciated!
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
Resolution
Add the following variable attribute to the dependent Lookup Select Box variable:
ref_qual_elements=<dependent_variable>
If multiple variables are referenced in the qualifier, include them as a comma-separated list:
ref_qual_elements=variable1,variable2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
Hello @AmeyK7044264560 ,
I had done the similar use case and it's working fine in both portal and Native UI.
Plz have a look on variable configuration :
Make sure you had done every required configuration..
If still gets issues plz send the screenshots of the issue..
If my response helped mark as helpful and accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
Resolution
Add the following variable attribute to the dependent Lookup Select Box variable:
ref_qual_elements=<dependent_variable>
If multiple variables are referenced in the qualifier, include them as a comma-separated list:
ref_qual_elements=variable1,variable2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
what's the variable type for "topic_path_filter"?
share some config screenshots of that variable
Share screenshots how it behaves on portal vs native
was his working fine earlier?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
Hello @AmeyK7044264560 ,
I had done the similar use case and it's working fine in both portal and Native UI.
Plz have a look on variable configuration :
Make sure you had done every required configuration..
If still gets issues plz send the screenshots of the issue..
If my response helped mark as helpful and accept the solution.
