Sure, you could make a macro like so. \define x(id) {{data/$id$##name}}
(put it either in the display tiddler or in a separate tiddler which then has to be tagged with $:/tags/Macro ) and then in the display tiddler, assuming you have an id field with value 28 (as you indicate in your example), you write <$macrocall $name=x id={{!!id}}/> Make up a better macro name than "x", of course. <:-) On Saturday, January 18, 2020 at 8:40:27 PM UTC+1, amreus wrote: > > Hi, > > For example; > > There exists a data tiddler named `data/28` with key/value pairs. Let's > say `name` is one of the keys. > > Another tiddler named "Display Tiddler" has a field `id` with value 28. > > Can I get get a value from the data tiddler using the `id` field value? > > This is an incorrect example, but maybe it shows my intent: > > In the display tiddler: `Name: {{data/{{!!id}}##name}}` > > Hope it makes sense. Thanks. > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1299ed65-ec8d-4790-8c31-f7c40150d92d%40googlegroups.com.