Qlik Sense third-party extension does not export correctly

My visualization extension exports incorrectly, or my visualization extension works in the client, but exports incorrectly.

Possible cause  

  • You may have used an undocumented Asynchronous Module Definition (AMD).
  • You may have used external resources from the internet (for example JavaScript files or images).

Proposed action  

  • Do not use external requireJS modules in the visualization extension.
  • Ensure all JavaScript code has been evaluated before resolving the promise in the paint method.

See also: