Frontend Data Set Cell Renderer YAML Reference
You can define a Frontend Data Set cell renderer client extension with a client-extension.yaml
file.
Usage Details
The client-extension.yaml
file defines a Frontend Data Set cell renderer client extension:
assemble:
- from: build/static
into: static
liferay-sample-fds-cell-renderer:
name: Liferay Sample Frontend Data Set Cell Renderer
type: fdsCellRenderer
url: index.*.js
The client extension requires an exported function (like this example) to process a value from a data set. This example is configured so that a build places the exported code in the static/
folder for deployment.
The required url
property specifies where the exported cell renderer function is available when it’s deployed.
YAML Properties
Property | Data Type | Description |
---|---|---|
url | URL | (Required) The path where the exported function is available to Liferay after it’s deployed. |