Set relationship between data types in repeating groups?

Hello Bubble,

I think this maybe is an easy fix but i cant seem to get it to work.
i have the following data types:
User → Email & Roles (Admin, Customer & Company)
Customer → Name, User, Adress etc…
Company → CompanySize, User etc…

On my admin panel, I’m trying to display in a repeating group:
Customer: Email | Role | Name | Adress etc…

But since they are different data types, I can’t seem to be able to display them both in a repeating group? What am I missing?

So if your RGs type of content is “Customer” to display related (connected) info from data type “User” you will need to construct "Current cells Customers’User’(email, role, name, address, etc…)

Hey thanks for your response, i don’t seem to have that option?

If your data is set up the way you said it was then you should definitely be able to do that.

If you can’t, then perhaps your database is not set up the way you think it is?

Maybe some screenshots of your database set up and repeating group data source and internal elements would help to clarify what you’re currently doing…

Add a text element in your RG and show what do you have in “insert dynamic data” menu.


Screenshot 2023-02-28 at 20.50.28

What is a Kandidat data type and how is it connected with other data types?

You’ve posted only User / Customer / Company before :slight_smile:

My bad, Kandidat is Customer!

How did you setup connections between Kandidat(Customer) and User data types?

Now it worked, i can now display roles, however when i click a button on the repeating group i want to change the role of the user to User+, how would i go about doing that? it changes the role on the Customer data filed “Role → User+” but not on the User Type, it still says “User → Default”

Now i got it to work! But im having issue making changes now to that role haha, see my post above!

if you’ll add a screenshot of your RG it will be helpful for us to get what are you talking about :slight_smile:


Screenshot 2023-02-28 at 20.50.28

Im trying to change the role of the USER when i press that button

Screenshot 2023-02-28 at 21.01.39

Kandidat = Customer

Ok, so you have a default role assigned to each newly created Kandidat. How do you change the role (what are you using to choose a role from a list of roles and where is the button to save changes)?

Correct, the button is on a pop up that is getting the data:
Screenshot 2023-02-28 at 21.11.53

And is being fed info:
Screenshot 2023-02-28 at 21.12.35

And im trying to change the data with:
Screenshot 2023-02-28 at 21.01.39

So choose Parent group’s Kandidat and you should have a role attribute to choose later.

Don’t know your setup, but what is the reason of data source definition for a popup if you populate it after button click via “display data” action?

Now that works and gives the Kandidat the new role, however it does not update the main users role in “ALL USERS” where the user remains the role “Default”?

Oh, maybe i don’t need that data source then? Can i add multiple different “display data” types to that workflow? will that help?

What is “all users”?

So if you open a popup via some button in a RG cell and use that popup only to display and edit current cell Thing - you don’t need to have a default data source defined cause you are always sending data with your "display data " action.

1 Like

The default “User” data type!

I’m confused. So you have “Role” field in several Data Types: User and Kandidat?