Skip to Content
0
Jan 07, 2021 at 03:18 PM

Customizing defining request with a rule: is it possible?

332 Views Last edit Jan 07, 2021 at 05:08 PM 2 rev

I would like to customize the defining request for the initialize action for our offline store with a rule in order to fetch the data with a dynamic filter depending on the user that's running the app. I was able to customize query options for targeted controls before using the dataQueryBuilder class: Customize Query Options with Data Query Builder. But since the metadata structure for the initialize action's query isn't the same as the query options for targeted controls, this approach did not work in this scenario.

Is it possible to achieve this with the current MDK version?