Forum Documentation Showcase Pricing Learn more

Documentation on list actions


#1

Hello,

Is there documentation on list actions such as add, remove, add list, set list, remove list, clear list?

I tried to “copy” a search result onto another list by using add list or set list but I’m not sure I am using the action correctly.

Thanks!


#2

Yes we do :slight_smile: https://bubble.is/reference#Data.Messages.list


#3

Hi Emmanuel,

Thanks for the quick response! :frowning: Unfortunately, I browsed through this already and could not find anything on “add list” or “set list”…


#4

You’re right, we don’t have that one actually. But it should be quite explanatory. Which one is an issue (we’ll add that, but not at the second)


Anyone else see this as mubble jumble?
#5

Add List and Set List.

When I created a “search result” (which is a data type of a list of “products”), I wanted to add the search result to another list (which is a field with the field type “search result”) by using set list or add list. There was no error to my workflow. However, when i tested it, it did not work.


#6

What do you mean by ‘it did not work’? In this case, I think add list is what you need.


#7

What I mean by that is that the field, “current search,” which I wanted to add the search results to was empty even when I use add list. I don’t think add list is adding the list at all.


#8

Have you tried using the debugger to make sure the search returns something?


#9

Yes, I have actually and the search does return something. The problem was adding the search results list onto “current search.” Current search returns nothing.


#10

You mean, after operation? Can you reproduce the situation in the forum_app? it’d be easier to debug.


#11

How do i go about doing that? Where is the “forum_app?”


#12

check this post Open app for forum questions


#13

Please, what does “set list” do? Thanks


#14

it’s setting a list of things, erasing whatever the list there was before


#15

As a coder I’m super impressed with Bubble @emmanuel - Question: Have you guys added the capability to add multiple rows of things to a data table at once? I don’t seem to find documentation on this. If that’s not possible, how do you suggest doing that?

UPDATE: Oh shoot, looks like adding multiple entries to the database still doesn’t work :confused:

Do you a timeline on when that may become available? Here’s my use case.