cx-composer--for=liferay

FDS Filter

Add a custom filter to a Frontend Data Set.

type: fdsFilter·Frontend·Liferay docs →

# 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

  1. 01Export a default class implementing getValue(), setValue(v), and render(root).
  2. 02Assemble the JS and reference it via url:.

# required fields

fieldtypedescription
urlrequiredstringPath to the JS module implementing FDSFilter.

# optional fields

fieldtypedescription
namestringDisplay name.

# example

client-extension.yaml
date-range-filter:
    type: fdsFilter
    name: Date Range
    url: date-range-filter.js

# more in frontend