# How do you open the correct user profile in Adalo?

Make every profile link pass one User record so a My Profile button opens the logged-in user and names in lists open the selected user.

- Canonical URL: https://adalocado.com/answers/open-correct-user-profile-in-adalo
- Verification: Documented from current sources
- Topic: Actions and Logic
- Skill level: Intermediate
- Last reviewed: 2026-09-06
- Index status: index-now

## Short answer

Use one profile screen that expects Current User, but make every link supply a User record. Link names from Users lists directly. For a My Profile button, place the button inside a one-item Users list filtered to Logged-in User, then link that list item to the same profile screen.

Treat Current User as destination screen data and Logged-in User as the authenticated account. The profile screen can stay reusable when every incoming action supplies one User record. A clicked Users list row already does this. When a button or author label does not have a User row, wrap it in a Users list filtered to the intended account, then link that row to the same profile screen.

## Intended outcome

The profile icon opens the logged-in user's record, while a name or avatar in content opens the selected author's record on the same profile screen.

## Requirements

- A Users collection with the profile fields you want to display
- A profile screen configured to display Current User
- A relationship from each post, comment, or other content record to its author when profiles open from content

## Step by step

1. **Build one public profile screen**

   Add the user's name, image, and other profile fields with Current User Magic Text. This screen must receive a User record from every incoming link.

2. **Link names from a Users list**

   When a name or avatar already sits inside a Users list, add a Link action to the profile screen. The clicked list item supplies Current User automatically.

3. **Turn a related author into one User row**

   If the name is on a post or comment detail screen, make the name group a list of Users and filter it to the related author. Adalo's official profile tutorial demonstrates this pattern with a User list filtered by the current comment's author email.

4. **Create the My Profile link**

   Place the profile button inside a Users list filtered so Email equals Logged-in User Email. The list should return one row, and its Link action should open the same profile screen with that row as Current User.

5. **Keep the screen bound to Current User**

   On the destination, use Current User for every displayed profile field. Do not mix Current User for one field with Logged-in User for another, because that can show two identities on one screen.

## Why it works

- Logged-in User is the authenticated account, while Current User is the User record passed into the screen.
- A profile screen that uses Current User needs an incoming link that carries exactly one User record.
- A filtered one-item Users list converts a related author or Logged-in User into linkable Current User screen data.

## Data model

| Collection | Properties | Relationships |
| --- | --- | --- |
| Users | Email, Full Name, profile image, and public profile fields | Receives authorship relationships from posts, comments, or other user-created records |
| Posts or Comments | Content and display fields | Each record belongs to one User author |

## Common failures

### Every name opens the logged-in user's profile

Inspect the link source and destination fields. Link from the clicked Current User list item, and bind the destination profile fields to Current User instead of Logged-in User.

### The profile screen keeps showing the last person viewed

Confirm each incoming link is inside the correct Users list and passes its current row. A plain button outside that list may navigate without replacing the prior Current User context.

### The one-item Users list is empty or shows multiple people

Check the filter against known records. For My Profile, compare Email to Logged-in User Email. For an author, compare Email to the related author's Email, as shown in Adalo's profile tutorial.

## Testing checklist

- [ ] Sign in as one user, open My Profile, and confirm every displayed value belongs to that account.
- [ ] From the same session, open two different authors from a list and confirm the destination changes to the selected person each time.
- [ ] Open an author from a detail screen and confirm its one-item Users list passes the same author shown on the source record.
- [ ] Return to My Profile after viewing someone else and confirm the logged-in user's record replaces the previous Current User context.
- [ ] The profile screen displays Current User values
- [ ] Each public-profile link starts inside a Users list
- [ ] The author list filter returns exactly one User
- [ ] The My Profile list filter returns Logged-in User
- [ ] No destination field mixes Current User with Logged-in User

## Limitations

- The official public-profile tutorial uses Email to identify the one User row. Keep User emails unique and verify the filter with known accounts.
- This pattern controls which User record reaches the screen. Configure collection permissions separately for any profile fields that should not be public.

## Community evidence

### [Social Profiles](https://forum.adalo.com/t/social-profiles/56196)

The accepted answer distinguishes the current profile record from Logged-in User and recommends conditional data-aware navigation for the two profile paths. Boundary: The accepted reply is brief, so the current official public-profile tutorial supplies the complete one-user-list workflow.

## Sources

- [Adalo forum accepted solution](https://forum.adalo.com/t/social-profiles/56196)
- [Adalo Help: Public Profile screen](https://help.adalo.com/how-to/how-to-have-a-profile-page-for-current-user)
- [Adalo Help: Links](https://help.adalo.com/action-basics/how-to-link-screens-through-actions)
- [Adalo Help: Filtering](https://help.adalo.com/component-basics/conditions-and-filtering/filtering-in-adalo)
- [Adalo Help: Relationships](https://help.adalo.com/database/relationships)
- [Adalo Help: Collection Permissions](https://help.adalo.com/database/collection-permissions)

Markdown version: https://adalocado.com/answers/open-correct-user-profile-in-adalo.md
