Ok - so I'm trying to use a concatenated string as a field value in a new
tiddler. Existing code:
<$action-sendmessage $message="tm-new-tiddler" $param="_templateTask"
title={{$:/_opTaskStore!!taskname}}
shorttext={{$:/_opTaskStore!!description}} tmap.id={{{ [[]make[%uuid%]] }}}
assignedto={{$:/_opTaskStore!!assignedto}}
caption={{$:/_opTaskStore!!description}} tags="[[Task]]"
color={{$:/_opTaskStore!!color}} />
I'm waning "title" to be a concatenation of two values:
{{$:/_opTaskStore!!taskname}}
and
{{{ [[]make[%uuid%]] }}}
also with some formatting. Pseudo code:
final = {{$:/_opTaskStore!!taskname}} + " (" + {{{ [[]make[%uuid%]] }}} +
")"
making final code looking something like:
<$action-sendmessage $message="tm-new-tiddler" $param="_templateTask"
title=<<final>> shorttext={{$:/_opTaskStore!!description}} tmap.id={{{
[[]make[%uuid%]] }}} assignedto={{$:/_opTaskStore!!assignedto}}
caption={{$:/_opTaskStore!!description}} tags="[[Task]]"
color={{$:/_opTaskStore!!color}} />
How can I achieve this (btw - my head's shot with macros/variables/brackets
- in short - I feel I've tried everything and short of giving infinite
monkeys infinite typewriters...)
make is a plugin here: http://tobibeer.github.io/tw5-plugins/#make
it does return in a funny format (italicised link in wikiview)
Thanks all for your ongoing help to this newbie.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/cbc03495-7c19-4246-a0d8-4df8e5c794fd%40googlegroups.com.