Working on a personal gaming notekeeping tool for tiddlywiki and hit an issue with setting tags on a new tiddler that I just can’t seem to solve.
I’m trying to basically have a button that makes a new tiddler, uses the title of the current tiddler mangles it and puts that value as a tag on the new tiddler.
The code below works but the new tiddler ends up with the tags of
< < slugval > > (spaces only here in the post so it shows up)
It has to be something I’m not getting with substitution etc but just not grasping it.
Any help would be appreciated.
\define concatVal() <<slugval>> [[Scene]] <$button>Test <$set name=slugval filter="[all[current]slugifyaddsuffix[_thread]]"> <$set name="finalTag" value=<<concatVal>> > <$action-log /> <$action-sendmessage $message="tm-new-tiddler" title="New Tiddler" text="Some Random Text" tags=<<finalTag>>/> </$set> </$set> </$button>