Load the report template in Python and pass it to the next viewing, rendering, or export operation.

Loading the template. Create the report, load the template from the demonstrated source, and pass it to the next rendering, viewing, or export step.
designer = StiDesigner()
designer.javascript.blocklyEditor = False
designer.javascript.reportsChart = True
designer.javascript.reportsExport = True
designer.javascript.reportsImportXlsx = False
designer.javascript.reportsMaps = False
designer.javascript.usePacked = True

if designer.processRequest(request):
    return designer.getFrameworkResponse()
The javascript object exposes flags for each optional module (charts, export, maps, the Blockly editor and more); turning off the ones you do not use, together with usePacked, minimizes the JavaScript sent to the browser.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.