Hello there,
I'm trying to fill a multiselect input with a initial value based on a token. The token is based on a lookup search.
<form>
<label>dashboard</label>
<search>
<query>
| inputlookup lookup.csv
</query>
<earliest>-24h</earliest>
<latest>now</latest>
<done>
<set token="tok_lookup">$result.column$</set>
</done>
</search>
<fieldset submitButton="false">
<input type="multiselect" token="tok_multiselect" searchWhenChanged="false">
<label>Multi-Select</label>
<delimiter>,</delimiter>
<fieldForLabel>column</fieldForLabel>
<fieldForValue>column</fieldForValue>
<search>
<query>| loadjob savedsearch="admin:app:multiselect_list"</query>
<earliest>-2h@h</earliest>
<latest>now</latest>
</search>
<initialValue>$tok_lookup$</initialValue>
</input>
</fieldset>
...
</form>
The inputlookup of lookup.csv does return a single column with multiple rows if run in a seperate search:
column
-----------
value1
value2
value3
value1, value2, value3 should show up as a seperate initial values in the multiselect input. Currently the values do not show up at all. - If I use the token as default, only the first value "value1" is populated to the multiselect field.
Thanks a lot for your help. Regards, Philipp
... View more