Page 1 of 1
Query removes the option to map to Select Value
Posted: Fri Jan 24, 2014 3:25 am
by Willie Sims
I want to be able to create a list from a query according to what the user selects. but I cannot map to the Value object in the select mapping because when I click on the query request the select : Value disappears
Query removes the option to map to Select Value
Posted: Fri Jan 24, 2014 4:50 am
by Illya Stepanov
Hi Willie -
I'm not sure I understand the question.. it disappears where?
Can you provide more details (screenshots) or, tell us how to reproduce the problem?
Query removes the option to map to Select Value
Posted: Fri Jan 24, 2014 4:54 am
by Willie Sims
in the data mapping, I Tried using a select object but as I said I cannot map the select value to the Where in the request because it removes the Value part of the select object
Query removes the option to map to Select Value
Posted: Fri Jan 24, 2014 11:45 am
by Kateryna Grynko
Hi Willie,
Does your select have fixed values or they're filled dynamically? If dynamically, mapping doesn't know whether Select has any items and doesn't allow you to use its value.
Here is a work around. When you select Select item, add a JavaScript handler that saves a selected value in localStorage. In mapping you can easily use this value for your request.
Query removes the option to map to Select Value
Posted: Fri Jan 24, 2014 2:05 pm
by Willie Sims
They are fixed values, I enter the description and value,
basically what I want to do is this allow the user to select to view only the trucks in a certain terminal
so say for example
Terminals
Houston
Alabama
Monaca
when the user selects one the map displays all the trucks that are in that terminal.
The radio object works with the Query but I have over 50 Terminals this makes radio selections impractical. And since Houston and houston are two different queries that will bring two different results so is text search
Query removes the option to map to Select Value
Posted: Fri Jan 24, 2014 6:13 pm
by Maryna Brodina
Hello! Do the following mapping