Exporter: Modify Query based on Options?

Can I modify my exporter query based on additional options I have added to the form, next to the columns selection? In my case I have a Resource with transactional data. Each row has a column for an account, for example bank account or paypal account. I want to give the user the option if he wants to export the data off all accounts or just of certain accounts.

I want to use getOptionsFormComponents() to add a multi select field where he can choose the accounts.

But I have no idea how to use it in the query modifier used at the Action Button.
Was this page helpful?