ExportDisplay issue

Hi, I’m trying to download an uploaded image. Instead of directly download to local storage, but I send me to new tab which I have to load that image myself.

Can anyone give an idea for it.

Thank you

Here is some Example

By default htm,html,jpg,png,jpeg,pdf files are opened in a new tab. This is controlled by the cuba.web.viewFileExtensions application property. Just exclude file extensions that you don’t want to show in a new tab.


1 Like