Skip to main content Skip to complementary content

Hello world (extension example)

The Hello World code example demonstrates the absolute minimal requirements for a visualization.

Finding the code examples

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

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

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

Full code example

Information noteThe preview image defined in this code example, helloworld.png, is located in the same folder as the helloworld.qext and helloworld.js files.

Code example breakdown

  1. Edit the applicable fields of the qext file to set a default title, description, icon and type.

  2. Implement the paint function to render the text.

    define( [ ], function ( ) { return { paint: function ($element) { $element.html( "Hello world!!" ); } }; } );

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!