Skip to main content

Hi i have a prefilter on some of my tables.

What syntax do i use to toggle them on and off when calling the api of that table? 

e.g.
{{baseUrl}}/employee?$prefilter=only_active_employees

How to deactivate the only active employees prefilter?

Hi Anne,

You can omit the $prefilter to not have any prefiltes active.

Kind regards,

Tim de Lang


This does not work if the default behaviour of the prefilter is on like this?

Is it possible to turn it off in my call? 
 


A prefilter that has been set to On-hidden or On-locked cannot be disabled via the API.

You can leave the prefilter On or Off at the model settings and only make it On hidden by enabling Data authorization and turning off Visible for specific roles.