Nested Repeated Group data into single text element


Hello all, as per the attached image, theres a conversation db which has message list, every message db has body(text) and file(list)
now to display this, a repeating group can display body text then another repeating group showing all the attached files in that msg..

now I need to create a text element, which has all the conversation in it, the way it’s viewed in a repeating group..

like the text response I am looking for would be like

Conversation:

Message 1:
Body = body text
Files = file1_url, file2_url …

Message 2:
Body = body text
Files = file1_url, file2_url …
so on..

Please help if someone has experience with such a response.
Thanks.

What is the issue you are facing?

This is tricky because of the bubble quirk you can’t pull data out of repeating group. Which makes map-style operations bothersome.

Do you need to use this data for consistency on backend, or is it fine to compute solely on client?