I have created a Qliksense Mashup with bootstrap and d3 libraries. In Qliksense desktop edition it is working perfectly. I have deployed it in server and open it from there. But, It is giving the below error.
Uncaught TypeError: Cannot read property 'openApp' of undefined
It loads properly after I refreshed the webpage multiple times. if i refresh it again it is showing the same error.
I'm loading many css and js libraries. is this causing the issue. Is there a way to solve this.
Yes. It is due to network latency. The Qlik.js and some of the fonts and css files are not loading and giving time out error. I changed the wait time in require.config, after that it is loading properly. But still some times i'm getting the error as qlik.openapp is not defined. Is there a better way to overcome this.
I think you should be more worried about the js load timeout issue which is no 3 in the image attached. Probably require JS is not able to load the modules mentioned in the error. Check if the path is correct relative to require load directory, if the path is correct then try setting waitSeconds attribute in require.config to 0 and see if the JS are getting loaded or not.