Subject: Unable to Display Scores for Logged-In Users in My Bubble App
Hi Bubble Community,
I’m building an app where logged-in users should be able to see their scores and names. Here’s what I’ve done so far:
-
I created a data type called Score with two fields:
- User Name (type: Text)
- Score (type: Number)
-
I want each logged-in user to see only their score and name.
-
I added a Text element to the page and tried to dynamically display the user’s score using:
Current User's Score
However, the data isn’t showing up in the app.
-
I verified that scores are added to the database under the Score data type, and user accounts exist.
-
I set privacy rules to allow logged-in users to view their data.
What I Need Help With:
- How can I dynamically show the score and name of the currently logged-in user?
- Do I need to set a constraint or data source differently to link the score with the logged-in user?
- Is there a better way to structure the data or set up the display?
Any advice or troubleshooting tips would be greatly appreciated!
Thank you!