Smart Collections

The "Smart Collections" plugin automatically updates the linked assets of specific nodes (the smart collections).

Properties

To be configured in {home}/appserver/conf/custom.properties.

The plugin supports several smart collections. The properties are set in the format smartCollections.<number>.<property> (e.g. smartCollections.1.nodeId). In the following properties <number> = 1 will be used as an example.

smartCollections.license

type: String, required: yes, default: -

The license key for the plugin (product: smartCollections), provided by brix.

smartCollections.scheduler.cronExpression

type: String, required: yes, default: -

A Quartz cron expression specifying when the task should run.

smartCollections.1.nodeId

type: Long, required: yes, default: -

The node id of the smart collection. The corresponding node will be filled automatically according to the specified filter.

smartCollections.1.filter

type: String, required: yes, default: -

A filter expression using the anura syntax. Attention: the search_ prefix has to be dropped and search was renamed to text. Ampersand (&) can be escaped by using &amp;.

Additionally there is a node by name filter: One of node_contains or node_startswith has to be set to apply this filter. It also requires the node_type (id) and optionally a node (id) to limit the search. The language parameter is also taken into consideration for the node search.

smartCollections.1.locale

type: String, required: no, default: defaultLanguage

The language used to filter.

Release Notes

1.0

Initial Version

1.3

Added license