As a former software engineer, with lots of RDBMS and SQL experience, it’s embarrassing to have to ask this. I’m building a basic app (single page), and can’t seem to debug the displaying of data. The desired functionality is to display for any given User, of list of UserProfile data (e.g. name, avatar, etc.) for other Users who are the primary User’s “Contacts”.
I’ve even installed the Instagram-like template as a separate test app, and tried to replicate its database structures, fields, data values, and workflows, but am getting nowhere. I’ve scoured this forum and can’t find anything this fundamental or relevant.
I’ve got a bare-bones User data type, with only the default fields; email, modified date, created date, and slug
. Correspondingly, I’ve got a UserProfiles table, which amongst others, includes the fields:
- User, (type User)
- Contacts, (type List of Users)
I start with a Reusable Element; a Group named viewportContacts
, with an Element Type of “Group”, and a data source of “UserProfile”.
That contains a Repeating Group, with Type of Content = “UserProfile”, and Data source = blank.
That then contains a Row container, with Type of Content = “UserProfile”, and the Data source = Current cell’s UserProfile
That row container holds another group: “Group Fields container
”, with Type of Content = “UserProfile”, and the Data source = Parent Group’s UserProfile
Lastly, this contains two Text elements; First Name, and Modified Date. Each has a dynamic data source = Parent Group’s UserProfile First Name, or Modified Date, respectively.
This roughly mimics the Instagram-like app template offered by Bubble, with one exception;
the Instagram-like app template has a workflow based on a custom state,
I’ve tried replicating that Search as a workflow on Page Load (I’m not using any custom states the way that template app does), but the Editor will not even let me construct that same constraint using my Data Types.
As I’ve said, when previewing, nothing displays. I’ve of course populated the underlying App Data with with dummy entries to display.
If anyone can point me in the right direction, I’d be very grateful.