Thanks very much Jed.. I've been waiting for a good number of months for this solution :). I experimented a little with your code and this is what I found out. In my case, I needed not only to create a new tiddler based on a template, but also populate its fields. I had:
<$action-setfield $tiddler="MyTemplate" $field="title" $value=<<MyNewTitle>> firstname=<<FirstName>> lastname=<<LastName>>/> The result was a bit weird: it both modified the actual template itself to include the firstname and lastname inputs, as well as created a separate tiddler (MyNewTitle) based on the template but with the firstname and lastname fields left unmodified. However the following code gave the desired behaviour; It left the template tiddler untouched and created a new tiddler based on the template and populated its fields. <$action-setfield $tiddler="MyTemplate" $field="title" $value=<<MyNewTitle>>/> <$action-setfield $tiddler=<<MyNewTitle>> firstname=<<FirstName>> lastname=<<LastName>>/> Thanks again. On Sunday, 29 March 2015 04:26:35 UTC+11, Jed Carty wrote: > > If you use: > > <$button>Make Tiddler > <$action-setfield $tiddler='TemplateTiddler' $field='title' > $value='NewTiddlerName'/> > </$button> > > where you replace TemplateTiddler with the templates name, and > NewTiddlerName with the desired name the button will make a copy of > TemplateTiddler called NewTiddlerName without affecting TemplateTiddler. > > I put some stuff on inmysocks.tiddlyspot.com > <http://inmysocks.tiddlyspot.com/#Silently%20Creating%20a%20Tiddler%20Using%20a%20Template> > > about this. > -- 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.

