Filtering using field content

204 views
Skip to first unread message

Magenta Ward

unread,
Jul 9, 2019, 7:45:34 AM7/9/19
to TiddlyWiki
I have been struggling with trying to create a filter based on the value of a field without using tags 

I have 50 tiddlers all with a field called subsection, the value of the field can either be, technology, conduct, or services. I would like to create a list that would separate all of the tiddlers using each of the values. 

example - 

all of the tiddlers with the subsection value of technology will be displayed as a list and so on. 

Thanks for the help. 

PMario

unread,
Jul 9, 2019, 8:43:24 AM7/9/19
to TiddlyWiki
Hi

I did include a small example tiddler, that can be downloaded and drag & drop imported to tiddlywiki.com so you can test it.

If you import it to https://wikilabs.github.io/editions/tocP/ you can have even more fun with the "test" tiddler

have fun!
mario
tocp-test.json

Magenta Ward

unread,
Jul 9, 2019, 9:41:28 AM7/9/19
to TiddlyWiki

I'm not sure if that's what I am looking for, or I could be wrong. 

I have included the file for the TiddlyWiki and a screen capture of what I am trying to create.


Thanks again for your help. 


Magenta Ann



2019-07-09_0925.png

handbook.html

Mark S.

unread,
Jul 9, 2019, 11:18:11 AM7/9/19
to TiddlyWiki
As described, it seems like you want something like:

<$list filter="[field:section[Academic Support Services]]">

</$list>

But that seems too simple. So perhaps an example of what kind of listings/outputs your are expecting would be helpful.

Looking through your handbook, it seems there is some broken stuff. I'm pretty sure field names should not contain characters like "<<".

Good luck!

Magenta Ward

unread,
Jul 9, 2019, 4:00:05 PM7/9/19
to TiddlyWiki
Thank you very much, Mark, that's exactly what I was looking for. 

Again thank you for your help

Magenta Ann 
Reply all
Reply to author
Forward
0 new messages