AnsweredAssumed Answered

Check existing relationships BEFORE relationship add?

Question asked by Robert Sinclair on Nov 30, 2018
Latest reply on Nov 30, 2018 by Robert Sinclair



Is there a way to see the relationships when we call "before_relationship_add" ?


Something like $bean->fetched_row, but for relationships, so we see a "snapshot" of the relationships when we first load the bean.


Currently: If I do $bean->load_relationship in the before_relationship_add hook it will show me old AND new related records..