We are using datatables excel export button in a simple html report containing a single table of data. The export works fine when the page is accessed as a local file by chrome or firefox. We deploy to a local artifactory service. When the page is served from artifactory the export button does not work. In chrome developer console I see the error:
Download is disallowed. The frame initiating or instantiating the download is sandboxed, but the flag ‘allow-downloads’ is not set. See https://www.chromestatus.com/feature/5706745674465280 for more details.
It also fails in Firefox (but no error message). Seems to work in Safari.
From what I understand the chrome behavior is related to the referenced security feature. I can't see how to do that in this case since there is no explicit iframe in my site. Has anyone else seen this behavior or have any idea how to fix?