There was another problem with my first snippet. Using the fields field 
works during the session but the data is not saved. I supposed it's because 
of a name clash with some reserved name. I've renamed it to "area".

On Sunday, 4 April 2021 at 22:30:44 UTC+2 Sebastián Ortega wrote:

> Many thanks Eric, it worked!
>
> [image: image.png]
>
> --
> Sebastián
>
>
> On Sun, 4 Apr 2021 at 18:56, Eric Shulman <[email protected]> wrote:
>
>> On Sunday, April 4, 2021 at 9:07:38 AM UTC-7 [email protected] 
>> wrote:
>>
>>>   <$list filter="[all[current]get[fields]]">
>>>
>>     <$macrocall $name="tag" tag=<<currentTiddler>>/>
>>>   </$list>
>>> </$list>
>>>
>>> [image: shot.jpg]
>>> I know it's due to the filter I'm using but I can't manage to find the 
>>> right one by myself.
>>>
>>
>> In your use-case, "fields" is the name of a single tiddler field that 
>> contains a space-separated *list* of fieldnames, and the get[fields] filter 
>> is just returning the entire value of that field as a single text string.  
>> To get each entry from the "fields" list as a separate item, you can use 
>> the enlist operator, like this:
>>
>> <$list filter="[all[current]enlist{!!fields}]">
>>
>> enjoy,
>> -e
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/18iq5Byg-Uc/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/66f5a59f-8131-456b-bd7d-4eee05d2917cn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/66f5a59f-8131-456b-bd7d-4eee05d2917cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ddd4f06b-ca13-4687-8dbe-ae1464364ad1n%40googlegroups.com.

Reply via email to