With mashups or web apps, the Qlik Engine sits outside of your project and is not accessible and loaded by default. The first step before doing anything else is to create a connection with the Qlik Engine, after which you can then continue to open a session and perform further actions on that app, such as:
- Opening a document/app
- Making selections
- Retrieving visualizations and apps
For using the Qlik Engine API, open a WebSocket to the engine. There may be a difference in the way you do this, depending on whether you are working with Qlik Sense Enterprise or Qlik Sense Desktop. In this chapter, we will also elaborate on how you can achieve a connection via enigma.js and the benefits of doing so.