\define thisAction()
<$action-setfield $tiddler=HelloThere text="""$(HelloThereText)$$(LearningText)$"""/>
\end
<$set name=HelloThereText value={{HelloThere}}>
<$set name=LearningText value={{Learning}}>
<$button>Test
<<thisAction>>
</$button>
</$set>
</$set>
I don't follow your use case. Are both you and your users saving to the same TW? How are you overriding your users DefaultTiddlers?
Why do you need to put a carriage return after each item, since it's all in the DefaultTiddlers which isn't usually used for viewing lists?
Do your import tiddlers have anything in common? In particular, a tag? Then you could just add this to the bottom of the DefaultTiddlers:
[tag[MyImportedTiddlers]]
and your imported tiddlers would be automatically opened when the TW is opened.
Maybe your imported tiddlers could be marked with a tag like IMPORT. Then you could use the tag filter, and all your users would have to do is uncheck the special IMPORT tag when they want to clear the decks. Or a simple button in the sidebar could wipe out the IMPORT tag with a single click.
Hmm ... If your users are so unsavvy, how do they manage to import the .JSON in the first place?
Mark
Hi Z
My quick test suggests that the names don't have to be separated by carriage returns. Try it and see.
The reason it matters is that I think (not sure) it might be possible to do this with theActionListopsWidget operator without any extra-TW programming IF carriage returns are not required.
Maybe your imported tiddlers could be marked with a tag like IMPORT. Then you could use the tag filter, and all your users would have to do is uncheck the special IMPORT tag when they want to clear the decks. Or a simple button in the sidebar could wipe out the IMPORT tag with a single click.
Hmm ... If your users are so unsavvy, how do they manage to import the .JSON in the first place?