ui.modern.curator.[custom_field]

Configure custom fields for Curator messages.

Key: ui.modern.curator.[custom_field]
Type: String
Can be set in: collection.cfg

Description

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.

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

© 2015- Squiz Pty Ltd