But I would like to replace 'y' with a syntax which would make it a
field that I would have defined in another tiddler.
I tried this...
<<newSavedTiddler label:'New Tiddler with a template'
text:{{'<<formTiddler [[NewTiddlerTemplate]]>'+'>'}}
tag:{{'<<forEachTiddler where 'tiddler.tags.contains("X")'
write 'tiddler.data("field")'>>'}}>>
But TW does not like it at all.
I appreciate any help.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To post to this group, send email to tiddl...@googlegroups.com.
To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
On Jan 6, 2:47 pm, Linck Schlich <lschl...@gmail.com> wrote:
> OK,
>
> my tiddler "Test Tiddler" has a field defined thusly;
>
> <data>{"testfield":"000"}</data>
>
> And my new macro is:
>
> <<newSavedTiddler label:'NEW ISSUE'
> text:{{'<<formTiddler [[NewIssueTemplate]]>'+'>'}}
> tag:{{store.getValue("Test Tiddler", "testfield")}}>>
>
> And... when I create a new tiddler by clicking on the button this macro
> creates, I get my new saved tiddler, but with no tag. I was worried that it
> might be the space in Test and Tiddler, so i tried to change it (both in the
> macro and in the name of the tiddler) to TestTiddler... to no avail. Thank
> you again for your aid.
>
> > tiddlywiki+...@googlegroups.com<tiddlywiki%2Bunsu...@googlegroups.com>
> > > tiddlywiki+...@googlegroups.com<tiddlywiki%2Bunsubscribe@googlegrou ps.com>