Step-by-Step Guide: Create a Simple Qlik Sense Extension
✅ Prerequisites
-
Qlik Sense Enterprise or Qlik Sense Desktop
-
Access to Qlik Dev Hub (
/dev-hub
) -
Basic knowledge of HTML, JavaScript, CSS
-
Optional: Access to a Qlik Sense server for deployment
🔹 Step 1: Open Dev Hub
-
Open a browser and go to:
-
Click “Extension Editor”
🔹 Step 2: Create a New Extension
-
Click Create New
-
Provide a:
-
Name: e.g.,
SimpleBarChart
-
Description (optional)
-
Select or create a library folder
-
-
Click Create
Qlik generates a boilerplate extension with:
-
Definition.js
(main config) -
Script.js
(controller/logic) -
Template.html
-
Style.css
🔹 Step 3: Define the Extension (JavaScript)
In the Definition.js
, define how your extension behaves:
🔹 Step 4: Create HTML Template
In template.html
, add:
🔹 Step 5: Add CSS Styling (Optional)
In style.css
:
🔹 Step 6: Save and Use the Extension
-
Click Save in Dev Hub
-
Open a Qlik Sense app
-
Go to a sheet → Custom Objects → Extensions
-
Drag your extension onto the sheet
-
Configure the title in the right-hand panel
🔄 Optional: Add Dimension & Measure Support
In definition
block:
Access them in paint
like:
📦 Step 7: Export for Deployment (Enterprise)
-
Locate the folder in:
-
Zip the folder
-
Upload it to QMC → Extensions → Import
No comments:
Post a Comment