I am exploring the use of data dictionary tiddlers, and they seem to be 
very useful as a way of having data stored in the text of a tiddler, rather 
than in a field or tag.

Here's my thought process -

   - I work on multiple projects in my company, each with a job number, WBS 
   code etc. I have a tiddler with a list of these codes.
   - I turned it into a table in the tiddler, before realising it would be 
   better to have each project code in a separate tiddler.
   - First I had each tiddler contain the syntax for a table row: "| A | B 
   | C |". But this didn't work when I used a list to return them.
   - I could have put the HTML tags in, but then I remembered data tiddlers.
   - OK, now I have a data tiddler for each project, with the following 
   values:

jn_company:[[THIS]]
jn_project:[[THAT]]
jn_number:648021
jn_WBS:10003
jn_cc:0089
jn_ct:07
jn_task:000
jn_fnct:00

   - By the way, it's nice that a value can be a wiki link.
   - So now I can do a list of all the data tiddlers called "Job Number: 
   xxx", using the following syntax:


<$list filter="[prefix[Job Number:]]">

*{{##jn_company}}
*{{##jn_project}}
*{{##jn_number}}
*{{##jn_WBS}}
*{{##jn_cc}}
*{{##jn_ct}}
*{{##jn_task}}
*{{##jn_fnct}}
</$list>

   - But typing out all the text references got a bit tedious.
   - So the question is, is there a way to go through all the text 
   references in order and return their values? Then I could do a macro which 
   would return a row of a table, without having to specify the text 
   references.


Sorry for the long post, but I wanted to give some background. Feel free to 
point out errors in the above.


Thanks,

Matthew


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/efd7dd28-06f7-4499-9ff0-61c837dbba67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to