I have a field in the current tiddler with the following
[prefix[$:/state/]] badTitle [[spaced title]] [prefix[$:/temp/]]
First a simplified question that might just have the same answer as the actual question:
How can I transclude this field so it’s contents are used as a filter?
E.g {{{ [{!!myfield}] }}}
or {{{ [enlist{!!myfield}] }}}
don’t work as the filters are interpreted as literal strings rather than evaluated.
Actual question:
How can I filter all tids tagged Foo
but excluding those that match the conditions given in that field? I.e all tiddlers tagged Foo
excluding titles prefixed $:/state/
or $:/temp/
and also excluding the specific titles mentioned.
The field content should ideally not have to be “massaged” (e.g introducing “minus” characters) because the content will actually be added by the users and I don’t want to complicate things for them. The idea is that they will see a long title list and an edittextwidget with some predefined values (as illustrated above) and they can add their own values in the editor to further exclude batches of tiddlers from the list.
Help appreciated