0 Replies Latest reply: Jun 28, 2017 9:46 PM by Glenn Gobot RSS

    How to pass variable to Qlikview Extensions

    Glenn Gobot

      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.