if i try to read an excel file in protected view i get this error:
`var workbook = XLSX.read(data, {type: 'binary'});
Uncaught Error: Unknown Namespace:
at Kd (xlsx.full.min.js:18)
at op (xlsx.full.min.js:19)
at ig (xlsx.full.min.js:22)
at cg (xlsx.full.min.js:22)
at Object.gg [as read] (xlsx.full.min.js:22)
at ProcessExcel (ImportFatture.php:97)
at FileReader.Upload.reader.onload (ImportFatture.php:60)`
The file is called test.xlsx and if I open it and enable the modification and save the file everything works correctly.
The problem is that I wanted to automate the import by skipping this manual step and since the library I need to read the content I'm not editing anything so I shouldn't have such an error.
if i try to read an excel file in protected view i get this error:
`var workbook = XLSX.read(data, {type: 'binary'});
Uncaught Error: Unknown Namespace:
at Kd (xlsx.full.min.js:18)
at op (xlsx.full.min.js:19)
at ig (xlsx.full.min.js:22)
at cg (xlsx.full.min.js:22)
at Object.gg [as read] (xlsx.full.min.js:22)
at ProcessExcel (ImportFatture.php:97)
at FileReader.Upload.reader.onload (ImportFatture.php:60)`
The file is called test.xlsx and if I open it and enable the modification and save the file everything works correctly.
The problem is that I wanted to automate the import by skipping this manual step and since the library I need to read the content I'm not editing anything so I shouldn't have such an error.