FDS Filter
Add a custom filter to a Frontend Data Set.
# description
Registers a class that implements Liferay's `FDSFilter` interface — a custom filter UI for the tables that back DXP admin.
UI extensions that render on Liferay pages or modify page appearance.
# when to use
- →The built-in text / select filters do not fit your data (date ranges, geo, multi-select trees).
- →You need a filter tied to an external query (e.g., ElasticSearch).
# how to use
- 01Export a default class implementing
getValue(),setValue(v), andrender(root). - 02Assemble the JS and reference it via
url:.
# required fields
| field | type | description |
|---|---|---|
urlrequired | string | Path to the JS module implementing FDSFilter. |
# optional fields
| field | type | description |
|---|---|---|
name | string | Display name. |
# example
client-extension.yaml
date-range-filter:
type: fdsFilter
name: Date Range
url: date-range-filter.js