F
Filament16mo ago
Virgil

Relations between two relation managers

I've a bit of a struggle with table list/form. I've made a table list with customers, within the edit of the customer I've integrated two relation managers. One: With customer contact persons. Two: With notes of the customer. Now, I want to select the customer contact name in the form of Relation manager no 2. But I can't get it working, with only the contacts of this customer. I'm seeing all contacts of all customers. I've probably have to make an query select, but I'm complete out of ideas how to fix this. Who has any advice?
4 Replies
Virgil
VirgilOP16mo ago
But how do I pass a ID from the main table to the query in a relation manager?
josef
josef16mo ago
$this->ownerRecord is the record currently viewed
Virgil
VirgilOP16mo ago
Thanks, I will give it a try..
Want results from more Discord servers?
Add your server