Special Handler for Efecte Self-Service (ESS)

Toni Tolvanen
2024-02-22T19:34:41Z

Count–handler

This handler executes mathematical calculations on the value of an attribute, which are updated through the Web API. For example, this handler can be used to count the amount of views of a knowledge base article in Efecte Self-Service.

The Count handler can be used with number and decimal number datatype.

An attribute which has this handler cannot be freely edited via user interface. It is only possible to reset this value to zero in the edit view of the corresponding class. This value can be updated by imports for example via WebAPI request. The default value is applied for new data cards. If default value is not given it will be zero.

In the workspace user interface is a reset button that clears the current value in edit mode. The button is visible only when user is permitted to change value for this attribute.

When a value for the Count handler is incoming from an import, it calculates a new value by summing up the attribute's current value and the incoming value.

This handler does not need any metadata. General metadata according to data type can be used. For example, decimal numbers can have settings for Decimal output pattern and Progress bars.