Export Transformation Codes are the second way to perform custom transformations in evaluations. In this case, they are used to output data for an export in any desired format. The input format, like with Chart Transformation Codes, is the result of the SQL evaluation, with an array of objects:
[
{
"Probe": "P01",
"Messwert": 0.31
}, {
"Probe": "P02",
"Messwert": 1.54
}
]
The return value must be a string in this case, as the result is no longer processed further on the server side. Here is an example of a simple transformation into a CSV format.
function transform (data) {
let csv = Object.keys(data[0]).join(';') + '\n'
csv += data.map(row => {
return Object.keys(row).map(k => row[k]).join(';')
}).join('\n')
return csv
}
Continue with: Webservice Response Handler
Laatste wijziging: 21.08.2026
Algemeen
Leveranciersbeoordeling
Materiaal
Medewerkers
Klanten
Opdrachten
Monsters
PDF-sjablonen
Bijlagen
Recepten
Verslagen
Editor voor rapporttabellen
Interfaces
Kompetenzen
AI-functies
Inleidende fase
Analyses
Sjablonen
Klantenportaal (optioneel)
Aanbiedingen
Facturen
Parameters
Rekenwerk met parameters
Webservices
Transformatiecode
Controleplannen / Grenswaarden / Specificaties
Documentbeheer
Vragen en antwoorden
Testmiddelen
Opleidingen voor medewerkers
8D-rapport
Overige
Bestandsbeheer
Processen