I am attempting to copy the $:/TagManager tiddler and tweak it to work for user defined fields instead.
I was able to hack my way through to get a table of all fields but I am not able to understand how to
-
Get the accurate count of tiddlers which have that field (just like TagManager)
-
A clickable list of all tiddlers which have that field (just like TagManager)
I am not sure if this is even achievable. Has anyone tried it and got it to work?
Here is the way, which is most likely incorrect, by which I was able to get the list of fields shown.
<$list filter="[each[component]get[component]!is[system]sort[]]">Component | Count |
---|---|
{{||$:/nikhil/FieldTemplate}} | <$count filter="[all[current|tagging[]]]"/> |