I have a dashboard with 2 inputs fields
* a dropdown to choose a lookup file
* a timepicker (token=timerange)
Is it possible to update the timepicker tokens (earliest and latest) when i update the dropdown value? and if yes, the process:
I select a lookup file on the dropdown list
The lookup file contains 2 timestamps fields i want to use
Sample of the lookup file:
value,from,to
something,timestamp1,timestamp2
I try to add this to input in simplexml dashboard on dropdown declaration:
<change>
<eval token="timerange.earliest">[| inputlookup lookup.csv | stats min(from) as from | return $from ]</eval>
<eval token="timerange.latest">[| inputlookup lookup.csv | stats max(to) as to | return $to ]</eval>
</change>
without any results ...
I also tried to make a small js file to attach on dropdown change event....no success here
If you have an idea...
... View more