I have created a drop down called Tower which is taking values from a lookup table and displaying the project names. Whenever I click on a particular project I want the macros used in that particular project to be passed to the panels . Is it possible?
yes, you can pass the macro's based on the token selection.
basic sample code:
<label>Form example: source type time chart</label>
<!--autoRun means the search runs as soon as it is loaded. -->
<!-- Do not need a submit button -->
<fieldset autoRun="true" submitButton="false">
<input type="dropdown" token="sourcetype_tok">
<label>Select a source type</label>
index = _internal sourcetype=$sourcetype_tok$
| timechart count by sourcetype
Insead of query use the following,
In-case if you want to create / populate the macro you have to use sub search .