Cloud
Cloud-Dienstleistung für schnelle und effektive Analyse und Visualisierung von Daten für Ihr Business ohne eigene Applikationen zu erstellen oder zu programmieren.
onEndExportReport event.def endExportReport(args: StiExportEventArgs):
filePath = os.path.normpath(os.getcwd() +
url_for('static', filename='reports/' + args.fileName))
with open(filePath, mode='wb') as file:
file.write(args.data)
return f'The exported report was saved to {args.fileName}.'
viewer.onEndExportReport += endExportReportonEndExportReport — fires after an export; args.data holds the document bytes and args.fileName its name.args.data to disk to archive every export on the server.