Qlik Community

QlikView Extensions

Discussion Board for collaboration on QlikView Extensions.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

Select Box

Hi,

I want to create a button extension object and I in xml file I define :

<Text Label="Button #" Type="select" Select="1,2" SelectLabel="1,2" id="select1"/>

<Text Label="Button Caption#" Type="text"  Expression="Dokumente"/>

and in javascript

Qva.AddExtension('ShowDocument', function()

{

       var _this = this;

       var extensionfolder = Qva.Remote + "?public=only&name=Extensions/ShowDocument/";

       Qva.LoadCSS(extensionfolder + "style.css");

       var sCaption = this.Layout.Text1.text;

         _this.Element.innerHTML = "<div id='docbtnstyle1' title=’’ class='docbtnstyle1'>"+sCaption+"</div>";

in dashboard I want appear the second button when I choose value "2" from select box and return to defualt button when I chooes value "1" from select box

Any one help

Thanks.

btn1.jpgbtn2.jpg