Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to pass variable to Qlikview Extensions

Hi All,

I'm trying to create a Qlikview Extension on a dashboard with multiple tabs, and with each tab having its own Comments object.

The version of Qlikview I'm using is 11.2.12664 SR9 (x64). This is my definition.xml

<?xml version="1.0" encoding="utf-8" ?>

<ExtensionObject  Path="Commentaries" Label="Commentaries"

                  Description="Commentaries Extension"

                  Type="object">

<Dimension Label="QlikView Field" Initial="" />

    <Measurement Label="Do Not Change" Initial="sum(1)"/>

<Text Label="OSUser" Expression="=vCurrentUser"/>

<Text Label="MonthNum" Expression="=vSelectedMonthNo"/>

<Initiate Name="Caption.Font.Italic" Value="1" />

    <Initiate Name="Caption.Text" value="Markets LT Comments" />

</ExtensionObject>

However, I'm not able to retrieve the variable using this.Layer.Text0.text or this.Layer.Text1.text in script.js

Am I doing something incorrectly or is there a real bug in 11.2 SR9 ?

I've read ppl having success, so I'm not sure.

Can someone pls help? Thanks.

0 Replies