Relation Marker

No UI

The "Relation Marker" plugin marks two assets with a nodereference field related to the relationship type of the two assets

Properties

To be configured in {home}/appserver/conf/custom.properties.

relationMarker.license

type: String, required: yes, since 1.1, default: -

License key (delivered by brix IT Solutions).

relationMarker.nodereferenceFieldId

type: long, required: yes, default: -

The nodereference field for tagging the asset. It must be present on every asset type you plan to relate.

relationMarker.relationKeywordRootId

type: NodeId, required: no, default: -

The root node of relations in the keyword structure. If not configured, the plugin will read the rootId from the nodereferencefield

The keywords for the relations will be generated automatically (if not already present when searching by name)

relationMarker.counterFieldId.{relationTypeId}

type: long, required: no, default: -, since: 1.6

In case you also need to count the number of relations that an asset has, configure a map of relationTypeId → numberFieldId, e.g.

relationMarker.counterFieldId.languageVariant=123
relationMarker.counterFieldId.modelContract=124

See asset-relations.xml for the keys (e.g. <property name="id" value="languageVariant" />). You may skip relation types that you are not interested in counting.

Screenshot

keywords

Compatibility Matrix

Relation Marker CELUM (min. version)
1.0 - 1.3 5.13.3 (tested up to 6.5)
1.4 5.13.3 (tested up to 6.8)
1.5+ 6.8 (tested up to 6.16)

Release Notes

1.0.0

Released 23.11.2018

Initial Version

1.1.0

Released 07.12.2018

  • added a task to map old relations

1.2.0

Released 07.12.2018

  • if the rootnode property isn't set, the application will read the rootnode id from the nodereferencefield

1.3.3

Released 29.01.2019

  • added license
  • bug fixes

1.4.0

Released 15.06.2020

  • added a queue so that many relation changes only trigger a single metadata update

1.5.0

Released 08.07.2024

  • added counting feature (relationMarker.counterFieldId)

1.6.0

Released 11.07.2024

  • extended counting feature (relationMarker.counterFieldId.{relationTypeId})