On Saturday, April 2, 2016 at 11:49:29 PM UTC+2, Christopher Londrie wrote: > > 1) If I remove the field[corpname] I'm able to successfully pull the > titles of the GenSource: tiddler(s), however with it, I get null as a > result, I've made absolutely sure that I've made no spelling mistakes and > the GenSource tiddler does indeed have that field, am I specifying this > wrong? >
As Mark said, you probably want `get[corpname]`. 2) How do I properly insert tags using the variables, they're considered > literal inside the quotes, and ignored outside of them. > Common pitfall. At the top of your tiddler, define a macro, like so: \define createCorpTiddler() <$action-sendmessage $message="tm-new-tiddler" title="Corp:$(FirstName)$" tags="Corp Corp:$(FirstName$)-$(LastName$)"/> \end Then, inside your button, insert this macro: <$button>Generate Corp <<createCorpTiddler>> </$button> Basically, you need the `$(variable)$` syntax for this kind of interpolation, but that is only available in macro bodies. 3) Am I going about this in an absurd manner? > Dunno. Life is absurd. This bit doesn't strike me as particularly more so than the rest. Cheers, Knut -- 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 post to this group, send email to [email protected]. 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/6ac1ee81-6508-430c-9a15-ef4b704b40e3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

