How to display a list of items that have been assigned to the currently logged-in user
In this example, we will display a list of tasks that are assigned to the currently logged in user.
You can import the file below into Budibase to see exactly how it's done:
Steps to create this app:
Create a table called "Tasks".
Create the "Assigned To" column. It's a relationship to the "Users" table, where On User has many Tasks
Create a new screen ("Create from scratch") - this is where we will display the tasks for the current user.
Add a Data provider
Set the Data
setting to Current User.Tasks
Add a Table
component inside the data provider.
That's it! You're new screen now has a table that displays only the tasks that are assigned to the logged in user.