I am developing a panel plugin for a very specific use case, long story short it will be a Panel used to filter different results, some sort of a “search form” given that current filter options do not fit the purpose for my use case.
This panel needs 3 queries in order to fetch all the data it needs to work and it needs to be able to execute them several times if some of the dropdowns change. For example upon selecting a value on a dropdown I need to be able to query the datasource for more information.
I’ve been looking and I have not been able to find a way of doing a query to the selected Datasource for the panel. Is there any way from the PanelPlugin to obtain such datasource and just perform queries directly without having to write them on the QueryEditor?