Server-side dashboard exports can be fine-tuned with an export-settings object — here PDF metadata and font embedding.

Configure settings, then export.
$report = new StiReport();
$report->engine = StiEngineType::ServerNodeJS;
$report->process();
$report->loadFile('reports/Christmas.mrt');

$settings = new StiPdfExportSettings();
$settings->creatorString = 'My Company Name';
$settings->keywordsString = 'PHP Dashboard Export';
$settings->embeddedFonts = false;

$result = $report->exportDocument(StiExportFormat::Pdf, $settings, false, 'reports/Christmas.pdf');

How it works. The settings object is passed to the Node.js export, so server-generated files carry exactly the metadata and options you specify.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.