Hi Måns

> How do I retrieve the values from a data library instead?

A data dictionary tiddler is just an alternative representation for
(simple) JSON tiddlers. The example you gave corresponds to this JSON:

{
"1":"Value for 1",
"2":"Value for 2"
}

So, you'd use the tiddlertitle##index syntax to access individual values.

Best wishes

Jeremy








On Fri, Jun 20, 2014 at 11:08 PM, Måns <[email protected]> wrote:

> Hi TwWizards
>
> I saw that I can retrieve the Index of a datatiddler like this:
>
> [[MyData]indexes[]]
>
> I tried something like this:
>
> <$list filter="[[MyData]indexes[]]">
>
> <<my-macro {{!!title}}>>
> </$list>
>
> To my astonishment it actually worked as (I) expected...
>
> How do I retrieve the values from a data library instead?
>
> You know:
>
> 1:Value for 1
> 2:Value for 2
>
> etc..
>
> Or should I use field value pairs instead for this kind of operations?
>
> Cheers Måns Mårtensson
>
> --
> 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 http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to