My HTML or PDF report successfully "Finished" but the file is not downloading

When I use for the same report an xlsx template or docx then it is working and after I press the “Run” button then it is downloading by the browser. Cuba version: 6.5, Browser: Safari

Hi,

By default, files with extension defined in the cuba.web.viewFileExtensions property is displayed in the browser instead of downloading.

By default, Safari blocks any pop-up windows (and, unlike other browsers, does not report a blocked window). This is the reason why you don’t see your reports.

So, to fix this issue you can either exclude html and pdf files from a list of file extensions displayed in the browser or allow pop-up windows in Safari.
public://attachments/c8643565d4b829bfe5ba57b2f0f298ec.png

Regards,
Gleb

c8643565d4b829bfe5ba57b2f0f298ec

Thank you very much for your quick answert, it works as you described. :slight_smile: