Skip to main content
Creates an alias for a measure, allowing you to ensure Omni content that uses the field doesn’t break when the field is renamed.

Syntax

<field_name>:
  aliases: [OLD_FIELD_NAME]

Properties

measure_name
object[]
The name of the measure.

Examples

In this example, the sale_price field was renamed to order_price. Adding aliases to the field allows references to sale_price to continue working:
order_price:
  aliases: [sale_price]