On Sunday, March 27, 2016 at 4:30:49 AM UTC-7, Matthew Petty wrote:
>
> 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.
>
>    - 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.
>
>
You can use the indexes[] filter to get the names of the items in a data 
tiddler:
   http://tiddlywiki.com/#indexes%20Operator

Something like this:

<ul>
   <$list filter="[prefix[Job Number:]]">
      <$list filter="[<currentTiddler>indexes[]]" variable="thisIndex">
         <li><$view index=<<thisIndex>>/></li>
      </$list>
   </$list>
</ul>


Note the use of variable="thisIndex"... this allows the inner $list to loop 
through the items without changing the value of "currentTiddler" that was 
set by the outer $list.


enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
InsideTiddlyWiki: The Missing Manuals


-- 
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/203c8976-4678-4831-a4fc-13d38d9735c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to