By entering the Interfaces / Components page, you will find a special component called Custom Filters, this is the place where you can add a new JavaScript function, a new filter, or a new variant of an existing filter to your DPS application.
.png?sv=2022-11-02&spr=https&st=2026-02-20T00%3A42%3A13Z&se=2026-02-20T00%3A53%3A13Z&sr=c&sp=r&sig=yXvyiUGsR7mAFrK62r9ixW7%2FuUbW2FnCaOJv%2BcJ1D3o%3D)
Click on the EDIT CUSTOM CODE button, a code area will allow you to write the JavaScript code that will be loaded together with the other components (e.g. built-in filters).
.png?sv=2022-11-02&spr=https&st=2026-02-20T00%3A42%3A13Z&se=2026-02-20T00%3A53%3A13Z&sr=c&sp=r&sig=yXvyiUGsR7mAFrK62r9ixW7%2FuUbW2FnCaOJv%2BcJ1D3o%3D)
The Custom Filters component is designed to add simple JS functions, or register simple filter variants.
If you plan to define reusable and more complex components, we suggest you take a look at the Components Manager.