FI Finnish
SE Swedish
FR French
PL Polish
DE German
US English (US)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

English (US)
FI Finnish
SE Swedish
FR French
PL Polish
DE German
US English (US)
  • Log in
  • Home
  • Platform
  • ESM
  • Other Technical ESM Documentation
  • Handler Documentation

Handler - ReferrerCounter

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Service Management
    Matrix42 Professional Solution Matrix42 Core Solution Enterprise Service Management Matrix42 Intelligence
  • Identity Governance and Administration (IGA)
    IGA overview IGA solution library
  • Platform
    ESM ESS2 ESS Efecte Chat for Service Management Integrations Add-ons
  • Release Notes for M42 Professional, IGA, Conversational AI
    2026.1 2025.3 2025.2 2025.1 2024.2 2024.1 2023.4 2023.3 2023.2 2023.1 2022.4 2022.3 Release Information and Policies
  • Other Material
    Terms & Documentation Guidelines Accessibility Statements
  • Services
+ More
    • Service Management

    • Identity Governance and Administration (IGA)

    • Platform

    • Release Notes for M42 Professional, IGA, Conversational AI

    • Other Material

    • Services

Handler - ReferrerCounter

ReferrerCounter handler is used to count the amount of data cards that refer to the same parent data card. It shows the total number of referrers in the parent attribute's data field as illustrated in the following picture.

An attribute with ReferrerCounter handler:

If no metadata is set, the ReferrerCounter handler simply counts all referring data cards. However, with metadata, you can limit the referrer search to specified templates, or to template/attribute pairs.

You cannot sort or search data cards by the ReferrerCounter handler.

 

The following tables provide information on the attribute settings and metadata configuration options for ReferrerCounter handler.

Table 1. Attribute Settings

Handler name Datatype
ReferrerCounter Number

Table 2. Required Attribute Metadata

Name Value Description
template_code template_code

If template_code is set, ReferrerCounter counts references from the template specified with [template_code].

Note that you can define as many templates as needed, each in its own row.

template_attribute_codes [template_code:attribute_code]

If template_attribute_codes is set, ReferrerCounter counts references from the specified attribute of the specified template. The template must have a reference attribute with the specified code; otherwise this metadata configuration is ignored.

Note that you can define as many template/attribute pairs as needed, each in its own row.

countMode all/onlyVisible/onlyHidden

countMode is used to restrict counting of referrers by their visibility state. The values have the following functionality:

  • all: both visible and hidden referrers are counted.
  • onlyHidden: only hidden referrers are counted.
  • onlyVisible: only visible referrers are counted.

Default setting is onlyVisible.

If countMode is set, it affects all the template_code and template_attribute_codes configurations.

You can define any combination of template codes and template/attribute code pairs. ReferrerCounter always counts the sum of total referring data cards that match any of the configurations. Note, however, that each referring data card is counted only once, even if it is found through several configurations.

 

Configuration examples

Suppose you would want to count how many Tickets are referring to a Person data card. In this case, you would only need to add ReferrerCounter attribute handler to the Person data card and specify the template code from the Ticket template in the metadata. For example, if the attribute handler was named “Ticket_Count” and the Ticket template code was “ticket”, the metadata configuration would look like this:

On the other hand, if you would want to know how many of the Tickets refer to the Person data card from the "Assigned to" attribute (as opposed to, for example, the "Customer" attribute), you would need to add a metadata configuration with both template code and attribute code. For example:

referrercounter referrer counter handler counter tracker

Was this article helpful?

Yes
No
Give feedback about this article

Table of Contents

Related Articles

  • Attribute Metadata - ReferenceSearchFilter

Copyright 2026 – Matrix42 Professional.

Matrix42 homepage


Knowledge Base Software powered by Helpjuice

0
0
Expand