Adding friends to a field: "List of users" in the Type: User

Hello everyone!

I want to make a button to function in the fashion of an “Add friend” or “follow” button of facebook or twiteer.

I have set a field under the User typer, to be “friends”, this field is a list of users. So, how can I make the app to add the info of the user I want to “friend” in the field list of users. So the list of friends is then displayed in the profile of the user.

I hope I was clear, so I can get your help fellow bubblers.

Thanks in advance!

Hi

Were you able to achieve this

hi @p15himanshus

Yes, a while ago, so maybe I dont have the process very present.

So I think what I did was to:

  1. Create a Field under the Type:user to be friends or contacts. This is a list of users
  2. Run a workflow when the button is press to Make changes to a thing: current user; Field: Friends ADD: current page user
    So the current user will add the info of the page user he/she wants to add, under contacts
  3. To display the data, you use a repeating group. Data source: Users. Data to display: Do a search for: Current user contacts
    From there you can add filters to the repeating group’s results

I hope this helps you. let me know if you need more help. Have a great one!

1 Like

Thanks for the help