Is it possible to add something to a custom state list, just like you can do with normal data? I can not figure it out, apparently, I can only add lists to the state, and not individual items to the list.
In vanilla Bubble:
some_list :plus item some_scalar_value
… returns some_list
with some_scalar value
added to the list (as long as some_scalar_value
is not already in the list). The (new) single value is added at the end of the list. For more control over that, resort to a plugin like Floppy (actually, just Floppy - there’s no other plugin like it).
Hello @xtechaus,
I have gone through this problem. First, you need to create a custom state with the list as shown in the screenshot:
Then start the workflow on the button when you want to add a list to the custom state.
Afterward, save custom in your database as shown in the screenshot:
There will be options like:
- Set-list: It will replace the old list with the new one.
- Add-list: It will add both lists but the repeating items will be added once.
- Add: It will simply add lists and repeating items.
I hope it will help you in resolving your issue.
If any further assistance is required please contact me on:
LinkedIn:- Karamjit Singh - Aprintaa - Rank First To Earn Fast! | LinkedIn
Gmail:- karamwise@gmail.com
Another (somewhere similar) approach is Here
thanks both of you, I will have a try at these.
This topic was automatically closed after 70 days. New replies are no longer allowed.