Hi Tony, Here's code that will clone a tiddler without forcing an edit:
\define registered-tiddler() My New Tiddler \define wiki-tiddler() HelloThere \define fieldvalue() <$text text={{!!$(field)$}}/> <$button> <$action-createtiddler $basetitle=<<registered-tiddler>> $savetitle= "$:/temp/mytitle" /> <$tiddler tiddler=<<wiki-tiddler>>> <$list filter="[<wiki-tiddler>fields[]] -[[title]] -[[draft.of]] -[[modified]] -[[created]]" variable="field"> <$wikify text=<<fieldvalue>> name="fieldvalue2" type="text" mode="inline"> <$action-setfield $tiddler={{$:/temp/mytitle}} $field=<<field>> $value=<< fieldvalue2>>/> </$wikify> </$list> </$tiddler> New Cloned Tiddler </$button> It's convoluted. Needed to wikify the output of a <$text> widget. You may want to deal differently with the modified and created fields. There's an option in action-createtiddler to control that. Good luck, -- Mark On Monday, May 21, 2018 at 9:13:05 PM UTC-7, TonyM wrote: > > Folks, > > I seems there is a problem here I cant easily solve unless I have > documentation I cant find on Hashmaps > > as per > If a hashmap was used and a title field was specified, use that title > in https://tiddlywiki.com/#WidgetMessage%3A%20tm-new-tiddler > > Regards > Tony > > > > On Tuesday, May 22, 2018 at 11:48:04 AM UTC+10, TonyM wrote: >> >> Folks, >> >> Using https://tiddlywiki.com/#WidgetMessage%3A%20tm-new-tiddler and >> other widgetMessages there is a repeated reference to "Optional hashmap of >> additional tiddler fields". >> >> I have looked and I can not find an explanation for exactly what a >> hashmap is nor how to use it. >> >> Can anyone point me to additional information on this? >> >> I am trying to clone a tiddler (ie it inherits tags and field values) but >> name it as I wish. >> >> <$button message="tm-new-tiddler" param=<<wiki-tiddler>> >> title=<<registered-wiki-tiddler>> tooltip="to be provided"> >> Create Wiki instance tiddler (clone) >> </$button> >> >> I would like a clone of <<wiki-tiddler>> to be named >> <<registered-wiki-tiddler>> >> >> I would be grateful for some advice. >> >> Tony >> >> > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. 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/e3ed5c28-4c3f-4791-888f-a1ee86c6b416%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.