Set Reference Qualifier in Service Catalog item via onchange script?

jamesmcwhinney
Giga Guru

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

1 ACCEPTED SOLUTION

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.

View solution in original post

14 REPLIES 14

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.

How do I then handle multiple destinations?


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.

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..


Sorry,. i mean if the mobile ui supported list collectors!