Hi
I need to copy the
text field of a tiddler into a specific field of another tiddler. The tiddler titles are not known beforehand, because they are temporarily created and deleted on-demand with almost arbitrary (time-stamped) titles. So their names are passed by variables through SetWidget.
<$button>
COPY
<$action-setfield $tiddler=<<TiddlerA>> $field="text" $value={{<<TiddlerB>>!!refs}}/>
</$button>
The code above generates an empty filed
refs in
TiddlerB. When I wrap the transclusion in a macro like
{{$(TiddlerB)$!!refs}}, what I see is the text
{{actualNameOfTiddlerB!!refs}} in the
refs filed of
TiddlerB.
Your help will be much appreciated.
Mehdi