Accessing the active record in a Relation Manager
I would like to access the record from within a Relation Manager. This works for a Resource Manager, but in this case, it seems to fail. Any suggestions?
7 Replies
change
$consultNote
to $record
Duh! 🤯
Thanks for the quick reply
Is the ConsultNote the default model of your resource?
np :)
No it's not. ConsultNote is a relation to the default model
If that is the case couldn't you do this?
And remove the model?
I get your point, but the relation is a one to many. I need the specific record instead.