I have two collections “Project” and “Members”.
The “Members” collection have Reference field named" My Project" connecting to “Project” collection
The site member(author) can create a project and add members into it
Now I want to display a specific project with their members
The site member(author) can have multiple projects with the same or different members
I’m able to display the Project with specific members since I have the reference field “My Project”
in that way I able to filter out the members in a same project
The problem is I do it manually, adding the specific project(reference) into “My Project”(reference field inside “Members” collection
- Is there a way to automatically insert a reference in the reference field of a Collection?
- What is the data type does reference field accepts is the Primary key or the ID(system generated) of an item?
- How do I get the reference value and add to the Reference Field
I new with web development especially with the wix api
Hopefully, you can help me
thank you