Further information: @vnravikumar - running your code as written does indeed work as a standalone, however, when I add in the search to populate the lookup instead of hardcoding choice, it does not work. Here are the 2 pieces of xml:
This works:
<form>
<label>navigation</label>
<fieldset autoRun="true" submitButton="false">
<input type="dropdown" token="group_tok" searchWhenChanged="true">
<label>Bot Category</label>
<fieldForLabel>group</fieldForLabel>
<fieldForValue>group</fieldForValue>
<change>
<condition label="group">
<link target="_blank">
drilldown1?form.param=$group_tok$
</link>
</condition>
</change>
<choice value="group">group</choice>
</input>
</fieldset>
</form>
This does NOT work:
<form>
<label>navigation</label>
<fieldset autoRun="true" submitButton="false">
<input type="dropdown" token="group_tok" searchWhenChanged="true">
<label>Bot Category</label>
<!-- Dynamic definition of choices -->
<search>
<query>
| inputlookup group_ip_host
| dedup group
| table group
</query>
</search>
<fieldForLabel>group</fieldForLabel>
<fieldForValue>group</fieldForValue>
<change>
<condition label="group">
<link target="_blank">
drilldown1?form.param=$group_tok$
</link>
</condition>
</change>
</input>
</fieldset>
</form>
You will please note that the only difference is choice is removed and the search is added. As before, I can see, in the url bar, that the $group_tok$ is picking up the dropdown selection, but the new tab is not opening. The search is not providing a choice to the change stanza.
... View more