When I click one of my panels it shows another one, I want to be able to click that original panel and re-hide the panel that is now showing.
I tried doing something like this, but couldn't get it working.
<drilldown>
<condition NotinUse !=="true">
<set token="NotinUse">true</set>
</condition>
<condition NotinUse=="true">
<set token="NotinUse">"false"</set>
</condition>
</drilldown>
@JosuaJohn... Please try the following:
<drilldown>
<condition match="$NotinUse$=="true"">
<unset token="NotinUse"></unset>
</condition>
<condition>
<set token="NotinUse">true</set>
</condition>
</drilldown>
@JosuaJohn... Please try the following:
<drilldown>
<condition match="$NotinUse$=="true"">
<unset token="NotinUse"></unset>
</condition>
<condition>
<set token="NotinUse">true</set>
</condition>
</drilldown>
You need to slightly adjust your syntax. I would suggest renaming the token to be slightly more logical, like the following.
<drilldown>
<condition match="'InUse' != "true"'>
<set token="InUse">true</set>
</condition>
<condition match="'InUse' == "true"'>
<unset token="InUse"/>
</condition>
</drilldown>
...
<panel depends="$InUse$">