I have used a text box to retrieve the results from a ".csv" file.
This input is passed as a token in a TABLE Dashboard panel to retrieve the results.
I did DrillDown to this table where one value is passed as token to Five Dashboard panels.
Now the requirement:
After i got all the results.
If am again going to give an Input in the Text Box, the Table Dashboard panel should only be VISIBLE and the other drilldown panels should be hidden.
Kindly advice the solution.
Thanks in Advance 🙂
I did same this with below logic , I hope this will help you to resolve your query.
<label>Graph Type</label>
<choice value="a">User's Logins</choice>
<choice value="b">Logins Counts</choice>
<default>a</default>
<change>
<condition value="a">
<set token="a-details">true</set>
<unset token="b-details"></unset>
</condition>
<condition value="b">
<unset token="a-details"></unset>
<set token="b-details">true</set>
</condition>
</change>
</input>
Panel 1:
Panel 2:
I did same this with below logic , I hope this will help you to resolve your query.
<label>Graph Type</label>
<choice value="a">User's Logins</choice>
<choice value="b">Logins Counts</choice>
<default>a</default>
<change>
<condition value="a">
<set token="a-details">true</set>
<unset token="b-details"></unset>
</condition>
<condition value="b">
<unset token="a-details"></unset>
<set token="b-details">true</set>
</condition>
</change>
</input>
Panel 1:
Panel 2:
YOu basically need to use depends
attribute on the drilldown panels which controls the visibility of the panels based on one or more token's (if they are set/have non-null values, panels will be shown, else hidden). You can define that token from the result of your Table Dashboard panel search, so that that is only available when you actually initiate the drilldown from the Table Dashboard panel. Something on this line:
I followed the same procedure and the drilldown worked fine. My requirement is after my whole drilldown result if am giving an input in the text box again my hidden dashboard panels are visible still.
When i give the input in the text box and the table is retrieved i need all the dashboard panels to be hidden and only the table to be visible
Could you post the xml portion of your textbox and Table Dashboard panel?