Werner,

Just remove the [ ] from [<currentBlt>]

<<list-links "[field:blt<currentBlt>tag[Products]!field:status[1]]">>

I have a* draft document* covering this and more 
here 
http://tiddlywiki.psat.com.au/#Variables%2C%20Parameters%20and%20transclusions

See the within filters


   - There is no need to include html or widgets in Filters so single 
   bracket versions are used (unlike *Within wikiText*)

In Wiki text we must allow <htmltag></htmltag> to be identified as they are 
different from <<macropname>>, <$widgetname></$widgetname> but not in 
filters.

so <variableormacro> and {tiddlername} or {tiddlername!!fielodname} are 
used in filters


   - since the above delineate the beginning and end of a variable or 
   transclusion you leave out a set of [ ] in filters.

eg filter="[!has<fieldnamevar>]" or "filter="[<currentTiddler>backlinks[]]" 
"filter="[subfilter<subfilterdefinition>]"

While a variable's 'value', or a macros 'output', can be used as a filter 
parameter, 'macro parameters' are not supported in filters.

<macroname parameter> can be used but the parameter is ignored ????? TEST


Regards
Tony

On Thursday, 21 February 2019 05:20:23 UTC+11, Werner wrote:
>
> Hi, pretty new to TiddlyWiki and still trying to wrap my head around 
> various concepts. Also did some searching in this group but haven't found 
> anything that could help me.
>
> OK, I want do some kind of dynamic filtering, according to a given 
> variable. Basically, I want to set a variable and use it in a filter to 
> reference the contents of a field. So, the result should look something 
> like that
>
> <<list-links "[field:blt[<currentBlt>]tag[Products]!field:status[1]]">>
>
> where <currentBlt> would be the variable to be used.
>
> Thanks for helping me out on this.
>
> Best
> Werner
>

-- 
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/791b0cad-4ecc-4add-b651-75e48459bf8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to