Nested RGs: how to get the parent RG's current cell's thing

I have an RG of items and each item has an RG in it.

In the child RG, how do I get the parent RG’s current thing?

from the child rg you should be able to select the parent rg by name when building an expression

1 Like

Actually need the parent RG’s current thing, not the RG itself.

In the child RG, how do I get the parent RG’s current thing?

Just use Current Cell’s Thing

1 Like

Hey @agency_team :wave:

If you don’t see what you need. I solve this sometimes by putting a group into the parent repeating group with the data I need into the data source. Then you can more easily access the data from within the nested repeating group.

The group you add could be really small so it doesn’t impact your design. Just label it something that will be easy to find.

That’s my workaround. There’s always more than one way to do something though.

Hope that helps! :blush:

@j805 www.NoCodeMinute.com

For All Your No-Code Education Needs:

1 Like

Sorry if I’m not being clear. I need the parent RG’s cell’s thing, not the current cells thing.

Hey @J805 ! That solved my issue! Thanks!

For anyone who has this question later, let me articulate exactly what that looks like.

To get the parent Repeating Groups current cell’s thing from inside a child Repeating Group, you. have to put the child Repeating Group inside a Group.

The structure will look like this:

  • Parent Repeating Group
    • Group (give it a unique name like “GroupABC”)
      • Child Repeating Group

The Group GroupABC needs to have it’s type of content set to the parent groups thing type, and the Data source is Current Cell’s Thing

Then from within the repeating group, you can get GroupABC’s Thing.

1 Like

Glad that helped :raised_hands:

That’s what I normally do. :blush:

1 Like

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