Cloud
Облачный сервис для быстрого и эффективного анализа и визуализации данных для вашего бизнеса без необходимости создания своих приложений и программирования.
$reportJson = json_decode(file_get_contents('../reports/Variables.mrt'));
$reportJson->ReportAlias = 'Report Alias from Server-Side';
$reportJson->CalculationMode = 'Interpretation';
$reportJson->Dictionary->Variables->{'0'}->Value = 'Value from Server-Side';
$report->load($reportJson);
$report->render();json_decode(file_get_contents(...)) — reads the report template, which is plain JSON, into an object.$reportJson->ReportAlias / CalculationMode — change any report property directly on the JSON object.Dictionary->Variables->{'0'}->Value — edits a variable's value inside the template.$report->load($reportJson) — loads the modified object back into the report before rendering.