Hi Koolreports,
We are facing an issue while exporting PDF files. If we are generating PDF using saveAs() then its working fine but if I am doing with the below code its throwing error Failed - Network Error Below is my code:
$report = new MyReport();
$report->run();
$uniqueID = generateId();
$pdffilename = $uniqueID.'.pdf';
$report->export('RegulatoryUpdates')
->pdf(array(
"format"=>"A4",
"orientation"=>"portrait"
)
)->toBrowser($pdffilename);