You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a session app with enigma.js in a Qlik Sense extension. But when I call getService('qix',enigmaConfig) I get this error:
And if I step in to the code, this is where it happens:
It looks like qixSchema is invalid. I notice you load it as text while enigma expect it to be an object structure. Can you see if the config below works?
Description
I'm trying to create a session app with enigma.js in a Qlik Sense extension. But when I call getService('qix',enigmaConfig) I get this error:
And if I step in to the code, this is where it happens:
Steps to Reproduce
enigma = '../.././external/qlik/enigma'
qixSchema = 'text!../.././external/qlik/qix/3.2/schema.json'
'ng!$q' = $q
'qlik' = qlik
app = qlik.currApp();
var enigmaConfig = {
Promise: $q,
appId: app.id,
schema: qixSchema,
session: {
host: $window.location.host,
secure: $window.location.protocol === 'https:'
}
};
enigma.getService('qix', enigmaConfig).then(function (qix) {
console.log('qix', qix);
});
Versions
The text was updated successfully, but these errors were encountered: