Skip to content
Documentation

TSM Calculations Configuration

Configuration of custom functions for formulas. Currently only the folder, where the custom function files are stored, can be configured.

HAKOM:TSM:Calculation
Calculation
└─ Formulas
└─ CustomFunctions
└─ Path
<HAKOM>
<TSM>
<Calculation>
<Formulas>
<CustomFunctions>
<Path>functions/foo</Path>
</CustomFunctions>
</Formulas>
</Calculation>
</TSM>
</HAKOM>

Path: HAKOM:TSM:Calculation:Formulas:CustomFunctions:Path

Custom functions are defined in separate files. This setting specifies the folder they are loaded from.

Element Type Default Required Description
Path string CustomFunctions Folder from which custom function files are loaded. Allowed values: a relative path, resolved against each of the default resource paths of the product, or an absolute path. File types loaded: .dll (precompiled assemblies) and .csx (C# script files, compiled at runtime).

The folder is read for every calculation, so a function file that is added, replaced or removed takes effect without restarting the product. The folder itself is resolved once at startup: if it does not exist, it is skipped and a message is written to the log, so create the folder before starting the service.

© 2026 Volue.Version v0.6.38017 November 2026