Skip to main content
Creates an alias for a dimension, 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

dimension_name
object[]
The name of the dimension.

Examples

In this example, the sale_date field was renamed to order_date. Adding aliases to the field allows references to sale_date to continue working:
orders.view
order_date:
  aliases: [sale_date]