Skip to main content
Allows for inheriting and overriding another topic inside of Omni. The extended topic will inherit the attributes of the base or template topic. Additional attributes - such as joins or filters - can be added to the extended topic and will be scoped only to the extended topic. If attributes included in the extended topic are also defined in the base topic, the values in the extended topic will override the values in the base topic.

Syntax

extends: [<topic_name>]

Properties

extends
string[]
An array containing the name of the topic to extend. The current topic will inherit all attributes from the specified topic, with the ability to override or add additional attributes.

Examples

base_topic
default_filters:
  state:
    is: California
extended_topic
extends: [base_topic]

# Default filters for extended_topic will be 
# `New York` instead of base_topic's `California`
default_filters:
  state:
    is: New York