Cloud
Облачный сервис для быстрого и эффективного анализа и визуализации данных для вашего бизнеса без необходимости создания своих приложений и программирования.
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 dashboard 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.