Hello all,
I'm stumped. I'm trying to dynamically build a list for project management.
This *static* works:
<$list filter="[[A]] [[B]] [[E]] [[X]]">
...
</$list>
... which are project importance values
But I've added checkboxes with the intent of filtering some of those out. For instance if I uncheck 'A', then I want it to hide 'A'. The *static* way would either be
<$list filter="[[B]] [[E]] [[X]]">
...
</$list>
or
<$list filter="[[A]] [[B]] [[E]] [[X]] -[[A]]">
...
</$list>
and I'm just trying to 'assemble' this dynamically. The checkbox stores each of the values in fields of a temp tiddler (though not married to that)
<$checkbox tiddler="$:/temp/importancefilter" field="importance_a" checked="" unchecked="A">A</$checkbox> for A for example
After hours of reading other posts, it seems the answer must be some combination of macros, <$macrocall>, <$wikify>, <$set> - but I can't seem to get it right... I know this doesn't work:
\define testfilter()
[[{{$:/temp/importancefilter!!importance_a}}]] [[{{$:/temp/importancefilter!!importance_b}}]] [[{{$:/temp/importancefilter!!importance_e}}]] [[{{$:/temp/importancefilter!!importance_x}}]]
\end
Funnily enough I can put [[A]] in the testfilter, and I can also use the {{}} in the testfilter, but not together...
It must be simple and I'm just not getting it.