I have the following Advanced XML code that contains both a Static Select and a SearchSelectLister, My main goal is to achieve what has been achieved in the UI_Examples App under Listers 4: 2 listers driving multiple elements
I really Want to know why my second dropdown list isnt retrieving any values?, even though my search does contain only one field to collect:
<?xml version="1.0"?>
<view template="dashboard.html" stylesheet="application.css">
<label>Listers</label>
<module name="AccountBar" layoutPanel="appHeader"/>
<module name="AppBar" layoutPanel="navigationHeader"/>
<module name="TitleBar" layoutPanel="viewHeader">
<param name="showActionsMenu">false</param>
</module>
<module name="HiddenSearch" layoutPanel="mainSearchControls" autoRun="True">
<module name="StaticSelect">
<param name="settingToCreate">group</param>
<param name="label">field:</param>
<param name="staticFieldsToDisplay">
<list>
<param name="label">BUG</param>
<param name="value">bug</param>
</list>
<list>
<param name="label">WORM</param>
<param name="value">worm</param>
</list>
</param>
<module name="ConvertToIntention">
<param name="settingToConvert">group</param>
<param name="intention">
<param name="name">addterm</param>
<param name="arg">
<param name="service_setting">
<param name="group">$target$</param>
</param>
</param>
<!-- tells the addterm intention to put our term in the first search clause no matter what. -->
<param name="flags"><list>indexed</list></param>
</param>
<module name="SearchSelectLister">
<param name="searchWhenChanged">True</param>
<param name="settingToCreate">series_setting</param>
<param name="label">value:</param>
<param name="applyOuterIntentionsToInternalSearch">True</param>
<!--
NOTE: this param is only in 4.1.5 and up.
<param name="applyOuterTimeRangeToInternalSearch">True</param>
-->
<param name="search">`"SearchString that retrieves a field named ERROR"</param>
<param name="searchFieldsToDisplay">
<list>
<param name="label">ERROR</param>
<param name="value">ERROR</param>
</list>
</param>
<module name="ConvertToIntention">
<param name="settingToConvert">series_setting</param>
<param name="intention">
<param name="name">addterm</param>
<param name="arg">
<param name="ERROR">
<param name="series_setting">$target$</param>
</param>
</param>
<!-- tells the addterm intention to put our term in the first search clause no matter what. -->
<param name="flags"><list>indexed</list></param>
</param>
</module>
</module>
</module>
</module>
</module>
</view>
Should I use EntitySelectLister instead?
Any Help would be Great!
----------------------------NICK!
What the difference between the two? addterm and stringplace?
and Why doesnt the SearchSelectLister extract the field it Generates?
It works for the ui_examples app, but why not with my search? :
`getSummaryIndex("All")` | eval Service=case("service"="service",case(`isDownload`," Downloads",`isIngestion`,"Ingestion",`isAdmin`,"Admin")) | stats sum(trans) by _time, Service | table Service | top limit=5 Service head 5
... View more