Skip to main content Skip to complementary content

Extension object wizard

The purpose of the Extension object wizard is to simplify:

  • Creation of custom property pages for extension objects
  • Creation of Graphical User Interface (GUI) for extension objects
  • Deployment of extension objects

However, extensive knowledge about JavaScript and the QlikView JavaScript API is still needed. The wizard generates code and files that previously had to be created manually. The output of the wizard can be used as a template to develop the extension object further.

Information noteTo make extensions work in QlikView Desktop, the WebView mode must be used.

QlikView Extensions

In QlikView, there are two kinds of extensions:

  • Extension objects
  • Document extensions

Extension objects are custom-built QlikView objects, designed to display information from a QlikView document, which can be rendered using web technologies like AJAX, HTML, JavaScript, Java®, Flash®, Silverlight®, and so on.

Document extensions are designed to provide a mechanism to inject JavaScript code that accesses the QlikView JavaScript API in order to extend and modify QlikView documents accessed through an AJAX client.

QlikView extensions are designed to work with AJAX clients or with QlikView Desktop in WebView mode. The QlikView JavaScript API library provides access to the information in the QlikView document.

Information note The wizard can be used to create extension objects, but not to create document extensions.

Creating an Extension Project Using a Template

To create a new project with the extension already placed on the Default.aspx page, using the QlikView Workbench template, proceed as follows:

  1. As a Windows system administrator, open Visual Studio.
  2. Select File > New > Project...

  3. The New Project dialog is displayed. In the Installed Templates list, select the Language (Visual Basic or Visual C#) and the Location (Workbench) for the project.

  4. Select QlikView Extension and click OK.

    The extension object has now been created.

  5. To start using the extension, enter Design mode.

  6. Follow the steps in the left pane.

    QvExtension Template in Visual Studio displaying build process

Extension

The Extension frame in the QvExtension Tasks panel is used to provide the name of the extension and a description that appears next to the name when a user adds a new extension to a QlikView document.

QvExtension tasks dialog with Name and Description fields

The frame also contains links to the Edit properties and Edit references to scripts dialogs. The Edit references to scrips dialog is used to edit references to scripts other than Script.js, which is the principal script file for the extension. The dialogs provide a simple way to generate properties and script references without the need to write any code.

Tip noteFor information on manual generation of property pages, see the help topic for QlikView properties pages.

QlikView properties pages

Information noteThe source path for script files is either a relative path or an HTTP path for external script files.

Pack & Publish

The Pack & Publish frame in the QvExtension Tasks pane does not contain actions to modify an extension, but is used for testing an extension, either in QlikView Desktop or in QlikView Server.

Pack & Publish frame

Generate files

Deselect the Generate files box to stop changes in the extension from being reflected in the packed extension.

Pack Extension

Click the Pack Extension link to create a QAR file, which is recognized and used by QlikView.

Tip noteFor information on QAR files, see the help topic for QlikView archive files (QAR).

QlikView archive files (QAR)

Pack & Publish Extension locally

Click the Pack & Publish Extension locally link to run the QAR file (that is, QlikView Desktop is started and the extension is installed).

To run the extension on QlikView Server, make sure that the account running Visual Studio is member of the QlikView Administrator group and the QlikView Management API group on the server.

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!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com