Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
we have the mashup developed using Angularjs. it works fine in the server but the same is not working in the local/desktop versions.
Also we are getting the error as
require.js:44 TypeError: Cannot read property 'select' of null
at qlik.js:84
at g (require.js:45)
at require.js:45
at o.$eval (require.js:45)
at o.$digest (require.js:45)
at o.$apply (require.js:45)
at Object.q.$apply (qlik.js:13)
at qlik.js:84
require.js:44 TypeError: Cannot read property 'then' of undefined
at Object.get (qlik.js:31)
at Object.j [as showDialog] (qlik.js:31)
at qlik.js:33
at require.js:45
at f (require.js:43)
at require.js:43
Any suggestions why it works well in server but not in the desktop.
i tried to copy the requirejs and the qlik.js from server to desktop client version. it works fine now no error... and all the objects are displaying without any issues.
Hi brindlogcool,
It looks like you are reusing an appId from server in desktop
- in desktop appId is for example "HelpDesk Management.qvf"
- in server appId is a GUID generated on the server
The select error is mostly coming from the field API select method ‒ Qlik Sense; but initially, the appId was wrong, and therefore will nt return a promise, crashing with "Cannot read property 'then' of undefined"
...anyway, on desktop, change you appId to match the filename of the app, that should solve your issue.
I hope this helps.
Thanks Aiham,
we are using app name in the desktop. concern is some of the objects are disappearing and some of them are displaying.
Strange,
If the desktop app is exactly the same as the on in server (for ex. exported), that should not happen - consider filing a bug.
regards,
Thanks Aiham, Few things i have tested - Create the mashup using the template provided by Qlik. So its kind of inconsistency in the mashups.
i tried to copy the requirejs and the qlik.js from server to desktop client version. it works fine now no error... and all the objects are displaying without any issues.