Hello everyone. I’ve been using bubble for a few days and so far everything’s been great.
I’m building a classifieds sort of app. Users sign up and create ads, and their is a main search feature that allows visitors to find the ads.
I’ve run into an issue that when I try and create a navigation workflow from anywhere in the site to the user’s dashboard that features the ads they have created (The page type is ‘ad’), their is a workflow error in the ‘data to send’ field.
I feel like I’m overlooking something very simple as none of the data I choose to send is ever sufficient to allow the redirection to work. When I do pick say ‘Send User’ there is an error message saying the page type (User’s dashboard) is set to ‘ads’, therefore I can’t send user data. If I change the user’s dashboard page type though, the repeating group I have that allows the user to view their ads does not work?
If the destination page is of type “Ad”, then you send it an ad object. The page will display 1 Ad, the ad that you send.
But I don’t think that’s what you’re trying to do, right?
Instead, this dashboard page should be of type User. It should have a group and/or repeating group on it whose Data Source is Search for Ads (constraint: Creator = Current Page User). It is there that you can display these ads and/or provide links to an Ad Edit Page, for example.
There are fancier ways to do this (like actually have an Ad List type that is, you guessed it, a list of Ads) and attach such a list to the User object. But the above will get you going.
What are the advantages of the other ‘fancier’ solution you provided?
At the end of the day I just want the ads the user created to list in their dashboard so they can edit/delete them if they wish. If I attach a list of ads to a specific user, is that just easier for the app to process/faster?