Creating a simple HTML extension
This is the simplest possible extension, but actually one that is potentially very useful. By having a dynamic URL, we can display whatever data we want in the extension—essentially an iFrame.
Getting ready
Load the following script:
Sales: LOAD * INLINE [ Country, Sales USA, 1000 Mexico, 600 Canada, 700 UK, 900 Germany, 800 ];
How to do it…
Follow these steps to create a simple extension:
Open your user profile folder (usually
C:\Users\your.username
) and browse down toAppData\Local\QlikTech\QlikView\Extensions\Objects
.You may need to create the
Extensions\Objects
folder if no extensions have been previously installed.Create a new subfolder in the
Objects
folder and call itQlikViewCookbook
. Create a subfolder in here and call itHTMLPage
.In this folder, create a text file called
Definition.xml
. Enter the following XML into this file and save it:<?xml version="1.0" encoding="utf-8"?> <ExtensionObject Label="QlikView Cookbook HTML...