Hi !
I created a relation table named “ROUTINE USER REL” to allow users to display shared routines on their dashboard. There is 2 fields in this table : Routine (type : Routine) and User (type : User).
To share a routine with others users, the user goes in the “Share this routine” page, enters an email address and clicks on “Share” button.
Workflow for the button
-
Create an account for someone else
Email = Input email_address value -
Create a new “ROUTINE USER REL”
Routine = Current Page Routine
User = Result of step 1 (create an account)
It works fine, user is created with email provided by user (or returns user if existing) + a record “routine/users” is created with the routine’s unique id and user’s email.
Then, i would to display the shares for this routine in this same “Share this routine” page with a filtered routine reapeting groupe, but I can’t display the information from the USER table (nor email, firstname, lastname…) with “Current cell’s Routine User Rel’s User’s email”. Testing "Current cell’s Routine User Rel’sUser’s email value is empty " returns = yes…
And it works fine with "Current cell’s Routine User Rel’s Routine’s Name…
Tried to modify USER’s primary key to “unique id”, i can see the “unique id” in “ROUTINE USER REL” table is correct, but it doesn’t display the email.
Can anyone help me please ?
Best Regards
Fabrice
