Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ankit777
Specialist
Specialist

QlikView ExtensionObject

Hi All,

I have created an extension object.

I have added a checkbox using Definition.xml page.

I use this code

<Text Label="Map toolbar" Type="checkbox"  />

How can I set its value to be checked(i.e true) by default.

Thanks

Ankit

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi,

Try this:

<Text Label="Map toolbar" Type="checkbox" Initial="" Expression="1"/>

This works.

View solution in original post

5 Replies
sushil353
Master II
Master II

Hi ankit,

Have you tried by assigning the values

<Text Label="Map toolbar" Type="checkbox" Value="testname" />

here testname is the value of field to be get selected by default..

HTH

Sushil

ankit777
Specialist
Specialist
Author

Hi Sushil,

This is a checkbox. It can be cheked or uncheked. Value passed can be true or false.But even i pass true,it does not work.


tlorimier
Partner - Contributor III
Partner - Contributor III

Hi,

For me this is working like this :

<Text Label="Parameter1" Type="checkbox" />

<Initiate Name="Chart.Text.0.Content" Value="1" />

Hope this help

Anonymous
Not applicable

Hi,

Try this:

<Text Label="Map toolbar" Type="checkbox" Initial="" Expression="1"/>

This works.

ankit777
Specialist
Specialist
Author

Thanks Niharika, this works.:)