ui.modern.curator.custom_fields.[custom_field]

Background

This setting defines a custom curator attribute which can be used on curator messages and adverts The custom fields can be filled-in by the user configuring the curator rules, and will be returned in the data model when the curator rule is triggered.

The configuration format is:

ui.modern.curator.custom_fields.<field-name>=<field-label>

This will result in the fields being returned in the data model as:

additionalProperties: {
  "<field-name>": "<value>",
  ...
}

This key can be set in the search package configuration to apply to all child results pages, or in the results page configuration for a specific results page.

Setting the key

Set this configuration key in the results page (preferred) or search package configuration.

Use the configuration key editor to add or edit the ui.modern.curator.custom_fields.[custom_field] key, and set the value. This can be set to any valid String value.

Default value

None. No custom fields are configured by default.

Examples

To add two custom fields:

  • A "price" with the label "Product price"

  • A "sku" with the label "Product identifier"

ui.modern.curator.custom_fields.price=Product price
ui.modern.curator.custom_fields.sku=Product identifier

See also