Thanks, Jeremy.

But, did you mean:

<$list filter="[tag<slidetag>!nsort<slidetag>]">
<$set name="slidenumber" tiddler=<<currentTiddler>> field=<<slidetag>>>

(It is almost working; i've got something else wrong now :)

//steve.



On Wednesday, January 24, 2018 at 12:45:20 PM UTC-5, Jeremy Ruston wrote:
>
> Hi Steve
>
> How do I reference a field that is defined through transclusion? In the 
> code below, I'm trying to get the value of the field <<slidetag>> into a 
> variable <<slidenumber>>
>
> <$list filter="[tag<slidetag>!nsort<slidetag>]" >
> <$set name="slidenumber" filter="[all[current]field<slidetag>]">
> ...
> doesn't work.
>
>
> Try
>
> <$list filter="[tag<slidetag>!nsort<slidetag>]">
> <$set name="slidenumber" tiddler=<<currentTiddler>> field="slidetag">
> ...
>
> The trick is a new feature of the set widget (since 5.1.14) that allows a 
> variable to be set directly from a tiddler field (or index).
>
> Best wishes
>
> Jeremy.
>
>
>
> Suggestions?
>
> 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 [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> 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/8a4cf45f-12eb-4a8a-82d6-d4ea375cd729%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/8a4cf45f-12eb-4a8a-82d6-d4ea375cd729%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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/4ca9cb68-e46d-4e64-81d7-4e721dc2de0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to