Import transformation codes for import interfaces offer the possibility to convert the loaded raw data into a different format, or to process it further before it is imported into the LDB. The first parameter contains a String with the raw data. This can be processed either manually or with one of the provided libraries. The second parameter contains the filename, also as a String.
The return value must be an Array of objects whose keys correlate with the columns to be imported.
Example of a transformation code:
function transform (data, filename) {
const parsedData = xmlParser.parse(data)
const filenameWithoutExtension = filename.match(/(.*)\.\w+/)[1]
let result = parsedData.ERGEBNIS.map((e) => {
return {
'Datum': e.Datum,
'Stichwort': e.Stichwort,
'Probenstatus': e.Probenstatus,
'Datei': filenameWithoutExtension
}
})
return result
}
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