Friday, November 1, 2019

Integrate Qlik Sense with Web Application

Qlik Sense apps, sheets and visualizations can be embedded in for example:
  • Portals
  • Web applications
  • Intranet and Extranet sites
There are different ways of embedding the Qlik Sense content:
  • iFrame integration using the URL Integration APIs
  • Div integration using the JavaScript libraries
  • Standard Qlik Sense charts and custom visualization extensions can be created programmatically without having to be built in the Qlik Sense UI first, using the qlik-visual web component
Mashups overview
In the context of web development, a mashup is a web page or web application that uses content from more than one source to create a single new service displayed in a single graphical interface.
The Capability APIs enable you to easily and quickly integrate with your Qlik Sense objects to produce enriched results that were not necessarily the original reason for producing the source app in Qlik Sense. You can reuse Qlik Sense visualizations, including your custom extensions, and you can also make use of Qlik Sense data and calculations.
By using active content, your visualizations are updated when state changes. You can also subscribe to data and change the state through the visualizations.
In short it works like the following:
    You open a WebSocket to Qlik associative engine using the qlik.openApp method.
    Objects use the same WebSocket, that is the same session, which means they are connected.
    Qlik Sense objects work just as they do in the Qlik Sense client.