Get active relation manager table filters from custom page
Is there any straightforward way to access the instance of the active relation manager from my custom page? I'm trying to make the custom page to respond to certain relation manager "events" like when a filter is applied, or the active relation manager changes. Is this the right approach? Or perhaps i should invert the logic, and fire events from the relation managers itselves. Any insight will be greatly appreciated!
Solution:Jump to solution
For anyone having the same questions, i'll post what i ended up doing. What i wanted was to get the relation manager table filters from my custom page which they were shown. My solution was the following:
I'm using library to serialize the query builder and save it to the application cache. So in the Relation Manager table, i do the following:
```...
2 Replies
PS: I'm adding the relation managers to the custom page like this:
And setting them using the custom page method.
Solution
For anyone having the same questions, i'll post what i ended up doing. What i wanted was to get the relation manager table filters from my custom page which they were shown. My solution was the following:
I'm using library to serialize the query builder and save it to the application cache. So in the Relation Manager table, i do the following:
And in my custom page, i have the following: