English Qlik Sense Developers 1.1

Code examples

Your Qlik Sense installation comes with a number of extension and mashup code examples. These code examples are designed as guidance when building your own visualizations or mashups and they are not intended for production use.

Extension examples

Code example Purpose / description
Hello world Demonstrates the absolute minimal requirements for a visualization.
People chart Demonstrates a simple chart with basic HTML rendering and selection support. It shows how to enable dimensions and measures and how to make a simple visualization. It also gives an example on how to enable selections in a visualization.
Toolbar Demonstrates how to programatically call Qlik Sense functions. It also shows that you can create a visualization that does not visualize Qlik Sense data but is used for interaction with the app. You do this by leveraging the Mashups API into your extension.
Horizontal list Demonstrates how to build a visualization based on a list object definition and it also demonstrates some different options in implementing selection support.
Simple table Demonstrates a basic table, including a Hypercube, paging and usage of the Backend API.
Angular chart Demonstrates a simple chart visualization with basic AngularJS rendering.

Mashup examples

Code example Purpose / description
Helpdesk Demonstrates how to include Qlik Sense visualizations into a web page using the Mashup workbench and by using drag and drop, without any additional programming. It is based on the basic mashup template with absolute pixel-based positioning.

Code example location

Locating the code examples in Qlik Sense Desktop

In a Qlik Sense Desktop environment, you find the code examples in ...\Users\<UserName>\Documents\Qlik\Examples\Extensions.

Locating the code examples in Qlik Sense

In a Qlik Sense environment, you find the code examples in ...\ProgramData\Qlik\Examples\Extensions.

The code examples are not visible in Qlik Sense until you have deployed them. For more information about deploying examples, see Deploying your visualizations.