Skip to main content Skip to complementary content

Hello world

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

Finding the examples

  • Qlik Sense Desktop: ...\Users\<UserName>\Documents\Qlik\Examples\Extensions.

  • Qlik Sense: ...\ProgramData\Qlik\Examples\Extensions.

Full code example

Information noteThe preview image defined in this 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!