Is there a better way to format for list view?

Is there a better way to format for list view?
previously i tried to store a map but couldn't edit it once it was stored into itoo.

here is a shot of what i've been doing atm.

currently i am creating a string with the ";" as a seperator.

then right before i push the list to the list view, i just split it by ";"

but there has to be a better way to do it right? because i'm finding that i want to condense my list in the background before i start using it.

thank you for any input :slight_smile:

is there a way to store the map to a "local variable" to edit it? because of the fact i cannot use the global variables, im a little lost. still a little new to this

Alternatively store the data as list of lists, i.e. instead of the join block you use an add items to list block and add the list you created as an item to the main list

Later you do not need to split the string into a list anymore

Taifun

1 Like

as a follow up.
what blocks would you use to accomplish that?

:thinking: the only blocks i found are blocks that i have to use separately from the itoo store function. specifically the "add item to list" option. but when i tried it, it didn't work as intended.

thanks again.

here is a shot of what i've come up with since your post.
Havn't tested this yet, but would the local variables work like this?

My intention here is to condense the list into a new list, and then update the "timers_list" in the itoo property.
current_list will be "sorted/ordered" and then replace the itoo "timers_list" at the end.

i just can't seem to come up with any other way to edit the lists when they are inside the itoo property.

screen shot from before i add everything in with the changes.
but this is definitely the answer.

used a "local variable" to save a blank list to edit inside of the do block.
this is updating the list view correctly, and in a nicer format.

thank you for the help

Screenshot_36

For lists, the socket valueIfTagNotThere should be a create empty list block instead of an empty text block

Taifun

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.