You can use the action-listops widget.

So if you have a data tiddler "MyDataTiddler" set up, you can use this:

<$button>
<$action-listops $tiddler="MyDataTiddler" $index="myindex" 
$subfilter="[list[$:/StoryList]]"/>
Add Items
</$button>

Be aware that if you don't set MyDataTiddler in advance, action-listops 
will attempt to create it as JSON tiddler. That may or may not be all bad.

On Sunday, May 17, 2020 at 9:24:26 AM UTC-7, Tony K wrote:
>
> Thank you Mark for always answering me :)
>
> I am not really talking about "multi-level" but rather "multi-value"
>
> I am looking at them as a way to manage lists instead of fields 
>
> e.g list1: item1-item2-iteme 
>
> etc...
>
> On Sunday, May 17, 2020 at 7:16:23 PM UTC+3, Mark S. wrote:
>>
>> The datatiddler tools we're given only go one level deep. So to encode 
>> more than one thing per index you'd need to perhaps pack everything into a 
>> string with a designated separator, and then unpack it later as needed.
>>
>> But in reality, if you find that you're needing to put lots of stuff into 
>> a data tiddler, it might be better to consider using tiddlers, which are 
>> the real data units of TiddlyWiki. All the widgets and filters are based on 
>> tiddlers, with few based on data tiddlers.
>>
>> On Sunday, May 17, 2020 at 8:54:46 AM UTC-7, Tony K wrote:
>>>
>>> is there a way to save a list in a DataTiddler? and to add/remove 
>>> elements to that list?
>>>
>>> it might be an obvious question but I didn't figure it out
>>>
>>> thanks for the help
>>>
>>

-- 
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/ccc92f72-ea32-4cad-aafe-c504377f2843%40googlegroups.com.

Reply via email to