Having trouble with repeating groups

Hi,
I am trying to display a list of users in a repeating group with one user on each row of the repeating group.

My Data: Type User and the list I want to display in the repeating group is List of Buddies

In the app data it looks like this

My repeating group is a column with data choices below

The text element is below

and the resulting repeating group has all usernames on each row.

I want to have only one username in each row. I’ve looked at this for too long and am probably missing something simple. Thanks in advance for any help!

Hello @scottbassett

It’s not an efficient way to store buddies in User database. Your User type can store heavy load and this affects your app’s experience on user side. Rather than this I’ll suggest you to create a new type “Buddies” and match this buddies with your users. In that way you can create as many buddies as you like on one user and won’t face any performance issues.

Also in that case you can directly search “Do a Search for Buddies” in your RG with filtering “Created By Current User” and use that data as the way you like.

If you don’t want to change your current structure you achieve your user’s username from “Current Cell’s User’s Username”

I hope it helps

Thanks! I’ll give it a try!

Without changing data I now get what I was looking for. I will go back and add a new data type to keep things efficient. Thanks again!

Hi,
could you give any guidance on setting up a new Buddies data type? I would want to capture data if I am the creator of the Buddy request and if I am the recipient of a Buddy request. I assume that if any time a Buddy request is created and accepted that the workflow sends both the creator and recipient attributes (Username, profile pic, etc) to the new Buddies data type I should be fine.

Thanks!

Figured it out!

Here is a tip, try to see if your problem is similar to more broader problem, a problem that most likely others had at some point. In this case your problem looks like a ‘‘chat system’’, try searching how to create chat system