Hi , i’m building a platform for school , anyway I want to connect parent with student " their own child "
What’s the best peformace way to do that ?
note : parents is user , student is not a user
Hi , i’m building a platform for school , anyway I want to connect parent with student " their own child "
What’s the best peformace way to do that ?
note : parents is user , student is not a user
Just add a field for Parent on the Student datatype and/or vice versa…
student type has parent filed - List of user " allow student have more than one parent"
Repeating group type of content : User
data source : search for users
Group cell type of content : user
data source : current cell student’s parent
that is my setup but nothing is showing up , what I’m missing ?
I don’t know… ( you haven’t given much info to go on)…
The first obvious question is what is your search?
Secondly what are your privacy rules?
I’m searching for field " is-this-parent = yes "
this field is so I can know is the user a parent or school or staff
about privacy rule in user I have only the default one "this user is current user "
Without knowing more about your database structure, and what you’re actually trying to do it’s hard to say… but that doesn’t sound right to me.
Do you even need to do a search? Aren’t you storing the Parents on the User datatype? So just display the current User’s parents, no?
about privacy rule in user I have only the default one "this user is current user "
I’ve no idea what your privacy rule does (as in what permissions it grants)… so, unless you want to share more info about it, you’ll have to check that for yourself.
student type has parent filed - List of user
you said the Student type has a list of Users (parents)?
this is my privacy rule , the first one for student , so every school see only their student
I don’t understand that privacy rule at all (or your database structure, for that matter)… How can the Student’s School be a User? (although you’re not getting a type mismatch, so I have no idea what a School is in your database)…
But try removing the privacy rule to see if that makes any difference.
What exactly are you trying to do here?
I have to agree here. This should be really simple but you seem to be making it really complicated.
What is the purpose of the page? Is this a logged in parent or logged in staff?
What are you trying to list?
it’s the page where the school can see the student and their parent
like this :
now I list the student and trying to list their parent
This topic was automatically closed after 70 days. New replies are no longer allowed.