Automatically inherit parent metadata value via a single trigger


(Nick Papadatos) #1

Matrix Version: 5.5.4

Hi Squiz folk,

Not sure whether this is possible but is there a way to set/cascade the metadata value to any newly created standard page from its parent using a single trigger?

Example:

  • Level 2 A, standard page – metadata value {value_1}
    – Child Asset (standard page) automatically inherit metadata value {value_1} from parent

  • Level 2 B, standard page – metadata value {value_2}
    – Child Asset (standard page) automatically inherit metadata value {value_2} from parent

Do I need to create a trigger for each Level 2 asset – in this case possibly around 8?

Each Level 2 page/section has its metadata already set with the appropriate value.

Cheers
NickyP


(Nick Papadatos) #2

Have figured it (thanks to Leo)

Using the Dynamic parameters:
Current Asset: keyword - asset_parent^as_asset:asset_metadata_<field_name>