Getting info from parent group's parent group

Hey all! Hoping to get some help here.

I have the following repeating group structure.

-User
–Date
—Post

My goal is to show an entry in the thing repeating group IF the user who created the post is the same as the user in the top-level repeating group, BUT to also show an empty space if the user who posted is NOT the top-level user (that’s why it’s more complicated than just a straight feed for each user, and why we had to use the date repeating group)

Ideally my filter would be something like user = Parent Group’s Parent Group’s user.

But, this isn’t possible in the UI. I have a strong feeling that this is my n00bishness and not a total blocker. Would love some help…thanks!

Edward

Hi Edward,

Put the Date RG inside a group first, and set Content-Type = User, Data Source = Current Cell’s User. Give this group a name like “User Reference.” Not only will RG Date still be able to reference “parent group’s user,” but so can the post now too because it’s just a separate element inside the RG User cell. You don’t need to look for “grandparent’s Thing”

Your structure would then look like this:

RG User

Group Reference User (Current cell’s user)

RG Date

Post

Try that out!


Gaby at Coaching No Code Apps (formerly Coaching Bubble)

Courses & Products, Tutorials, Private Coaching, and High-level Development

Start Learning Today :mortar_board:

4 Likes

You wouldn’t see “Current cell’s user” - you just need to select the group element itself. See my example below:

Pink RG = your outermost RG

Yellow Group (labeled “Group Reference” in my example) = reference group with content type set to User and data source set to current cell’s User (from the pink RG)

White RG = the equivalent of your Date RG that sits inside the reference (yellow) group.

Text inside White RG can reference Yellow group’s user (i.e. the Pink RG’s cell’s user) not through “Current cell’s anything” but simply “Group’s User”


Feel free to post your editor link and I can help you set it up in your app too.

2 Likes

This worked…you are absolutely fantastic! Thanks much.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.