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!
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”
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.
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