Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
pthai
Contributor III
Contributor III

Need help to define the sheetjs library (xlsx.full.min.js) into the extension

Hi everyone,

I need to define the sheetjs library as below:

define(
["jquery"
, "qlik"
, "./js/properties"
, "./js/helpers"
, "text!./css/style.css"
, "https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.18.5/xlsx.full.min.js"
]
,
function(d, u, e, f, t, excLib) {
'use strict';

 

But, when I call the XLSX.read function. The error appears:

XLSX.read is not a function
at FileReader.

 

Can anyone help me!!!

Labels (2)
1 Reply
pthai
Contributor III
Contributor III
Author

Hi,

Anyone, pleaseee 😞