In Bubble, it’s pretty easy to just create a list of things in a single field - I’m sure it’s simple in Wappler - but I haven’t been able to find how yet. If anyone wouldn’t mind please pointing me in the right direction that would be appreciated.
Hey @JonL returning to this, so I have a single database entry, that I want to assign to multiple folders, I’m really not sure the correct way to do this.
I only have one reference field to assign this entry to a folder, and the folder only one reference field for this database entry. I need the folder to be able to know that it has say 10/20/30 entries assigned to it, and the other way around I need the entry to know it is also assigned to say 5/10 folders.
Can you advise what the Wappler way to handle this would be?
Folder is funcional, purely user experience - not technical. So let’s say a user creates a folder in our app, to store images - they can then upload images to the folder and then when they login they can click on the various folders to see which images they have stored.
I think you might be looking for a join table to save the relationships between the folders and entries.
So you have a folder table, and an entry table.
Then create a folder_entry table which saves every ‘link’ between a folder and an entry. It only need consist of a folder_entry id, a folder_id and an entry_id (you could add other fields if needed).
You can then search this table to get the relationships either by folder, or by entry and get the data for both folders and entries using a join query.
Don’t worry at all. Sometimes these questions we ask can be annoying but in the end they are asked to save time in the long run.
Good to read that you are already moving forward.
Also, although there are still some things missing for your app like a connector for S3 don’t you worry at all. The team will build it sooner than you can imagine as it already got a lot of attention.
And if you can’t bare the wait(totally understandable) just go to bubble forums and read the last drama episode about things not being built and the community being ignored.
A year ago I left Bubble after spending three with them. I got a lot of heat for giving my opinion publicly by some of the people that are now bashing Bubble big time in that post.
Sometimes I make some popcorn and have a read at Bubble’s forum. Normally it pays off.