A Singapore Government Agency Website

Optical Concatenated Field

Automatically calculate values based on other field values entered in Optical’s Content Studio. Values are visible in API responses.

Features

  • Display a calculated value based on any number of fields of an item.
  • Use any M2O related fields in addition to root level fields.

Example

Calculate a URL full_path from a segment and a M2O relation from.full_path.

{{ from.full_path }} / {{ segment }}

If from.full_path is https://www.example.com, and segment is foobar, the result stored in the field will be https://www.example.com/foobar

Chat with me!
Bot Launcher