Metadata Inheritance

Introduction

MediaHaven allows for inheriting metadata down the https://mediahaven.atlassian.net/wiki/spaces/CS/pages/2291466251. Specifically, metadata can be inherited from a parent to their children and grandchildren.

Inheritance

Field definitions acquire a property called Inheritance with three possible values

Value

Description

Value

Description

None

Default value, meaning no inheritance

Creation

The metadata field will be inherited when creating or adopting the child record

Propagation

The metadata field will be inherited when creating or adopting the child record and when later on when the value of the metadata field changes

Details

  • Inheritance works on top fields and overwrites the entire field. When the value of a field becomes empty, inheritance or propagation is also applied

  • Propagation cascades the changes down the record tree, from parent to child to grandchild and so on.

Propagation

Propagation will be interrupted if the value of the inheriting metadata field of the child is different than that of its parent.

Propagation cascades from parent to child, from child to grandchild etc. However, if the value of the metadata field was manually changed for the child to a different value, the propagation will not continue. For example, the parent has the value “A”, and the child and grandchild have the value “B” (i.e. due to editing the child). When the value on the parent changes to “C”, then the value for the child and grandchild will remain “B” because the propagation has been broken due to a different value “B” instead of the value “A”. The broken propagation can be restored by setting the value of the child to the same value as the parent record.