Displaying Profile Specific Information In Tables

Hi guys!

I am a personal trainer and have used dynamic pages and Wix code to create profiles for my clients. I am now looking to create online training logs that will allow them to enter their training stats themselves. (exercise, sets and reps etc.).

The issue I am having is that it will allow them to enter their training information but it is not limiting the information to there profile and showing on all the profiles.

I hope this makes sense. Can anyone help me in solving this problem, so that information updated and displayed is specific to that profile user?

Thank you in advance for any help.

Simon

Hi Simon,

Two ways to approach that:

  1. Add fields to the dynamic dataset that will store each users log (by using JSON.stringify and JSON.parse for example)
  2. Have one big collection of all logs, each log will have the username as a field:
    LOG USER
    Run Liran
    Gym Liran
    Gym Simon

then query this collection and filter by username.

Good luck,
Liran.