You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
This filter works: <$list filter="[field:instructor{!!field-value}]">
My tiddler has field-name=instructor
How do I transclude {{!!field-name}} into the filter to replace "instructor"?
(I've tried every possible solution but the right one :)
Thans, //steve.
Mark S.
unread,
Jul 14, 2017, 4:04:47 PM7/14/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
Hi Steve,
Is there a typo here? In the filter you say field-value. But in your text you say field-name. Which is it?
Mark
stevesuny
unread,
Jul 14, 2017, 4:28:18 PM7/14/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
My tiddler has these fields:
field-name: instructor
field-value: Chiang
I want to search for all tiddlers for which field:instructor = Chiang.
This works: filter="[field:instructor{!!field-value}]"
But this doesn't:
filter="[field:{!!field-name}{!!field-value}]"
Sorry to be confusing,
//steve.
Mark S.
unread,
Jul 14, 2017, 4:52:34 PM7/14/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
Yeah, you can't use {{!!field-name}} notation to substitute for a filter operator suffix AFAIK. Use a macro to concatenate and form your filter instead, like:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
Worked like a charm.
OK, I would never have gotten to figure that out. It seems these generic \define sitting on top of macros or templates are very powerful and useful addition to the general process of transclusion.
Thanks for your help! I'll post the results in another thread soon.
//steve.
cmari
unread,
Jul 15, 2017, 12:14:59 PM7/15/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message