It would help in my thinking if you gave an example from your data set of a field name and expected field value that you want.
Good luck, Mark On Thursday, July 13, 2017 at 1:19:14 PM UTC-7, stevesuny wrote: > > I thought that, too. > > The problem: <$set name="this-value" value=<<currentTiddler>>> names to > the current tiddler, not the value of the field that I am interested in. > > How do I set this-value to a field value, whose name is itself a variable? > > > > > On Thursday, July 13, 2017 at 4:00:19 PM UTC-4, Mark S. wrote: >> >> I think this does what you want (it's a little unclear what the goal is). >> Note that there is no field with the name this-field, and thus >> {{!!this-field}} doesn't exist. >> >> <$list filter="[all[current]tag[element-field]]"> >> <$set name="this-field" value=<<currentTiddler>>> >> <$list filter="[tag[schedule-elements]each<this-field>sort<this-field>]"> >> <$set name="this-value" value=<<currentTiddler>>> >> <<this-field>>: <$link><<this-value>></$link><br> >> </$set> >> </$list> >> </$set> >> </$list> >> >> >> >> On Thursday, July 13, 2017 at 12:23:15 PM UTC-7, stevesuny wrote: >>> >>> Hi Folks, >>> >>> I'm parsing a spreadsheet and trying to make every column name >>> navigable. As an example, I'm using a class schedule at SUNY Poly >>> >>> >>> https://drive.google.com/file/d/0B6pMEe8dCtrQdHhMTUNfVy04Zzg/view?usp=sharing >>> >>> I've used xlsx import to get the rows into a wiki >>> >>> http://sunypoly-schedule-explorer.tiddlyspot.com/ >>> >>> My template does this: >>> >>> <$list filter="[is[current]tag[element-field]]"> >>> <$set name="this-field" value=<<currentTiddler>>> >>> <$list filter="[tag[schedule-elements]each<this-field>sort<this-field> >>> ]"> >>> <$set name="this-value" value={{!!this-field}}> >>> <<this-field>>: <$view field=<<this-field>>/><br> >>> >>> >>> My challenges: >>> >>> (1) setting the value for "this-value" properly >>> (2) building a link to the tiddler names by "this-value" >>> >>> Thanks! >>> >>> //steve. >>> >>> >>> -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/413e2a0e-c82a-4373-89cc-1ca7709a8f81%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.