- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2017 03:54 PM
Within a service catalog item, within a variable's onchange script, is there a way to set the reference qualifier of another variable within the same catalog item?
Thanks!
- James
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2017 08:37 AM
Try
javascript:new TravelPlanReferenceQualifier().setTheQualifier(current.variables.selected_destinations.toString())
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2017 07:44 AM
I think your question should be 'Where are you travelling?' AF,US etc. Consider this variable country_code
And the the Select Plan should be a reference field with qualifier :javascript:"country="+current.variables.country_code
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2017 08:30 AM
How do I then handle multiple destinations?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2017 08:34 AM
Create a List Collector for Where are you Travelling.
And the the Select Plan should be a reference field with qualifier :javascript:"country ISIN"+current.variables.country_code
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2017 08:36 AM
Which is exactly what I would have liked to do if the Mobile UI supported list collectors.
Unfortunately it doesnt =(
So that means I either have to write a separate catalog item for mobile vs desktop, or just try build one using checkboxes that will work on both mobile and desktop..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2017 08:37 AM
Sorry,. i mean if the mobile ui supported list collectors!