Introduction
QlikView 11 uses partial HTML files, also known as qvpp files for properties pages.
They must be written in XHTML and in such a way that they can be used as innerHTML
of a div.
In these pages you can use predefined QlikView javascript functions to refer to properties in the QlikView document or to reuse parts of the standard properties pages.
To do this you use an 'avq' attribute. The syntax is:
A good way to start is to define your properties with labels and types in the definition.xml file. In many cases this will give you a autogenerated qvpp file which covers your needs. If not you can use it as a starting point for your own properties.qvpp file. Just make a copy of DynProperties.qvpp and modify it to your needs.
In these pages you can use predefined QlikView javascript functions to refer to properties in the QlikView document or to reuse parts of the standard properties pages.
To do this you use an 'avq' attribute. The syntax is:
avq="verb:[property[:extra]]"
- verb
- The javascript function name. It is required and the possible value and their meaning are described below
- property
- The property to which the element is bound. It almost always required. Typically the html-element will be hidden if the property is hidden and disabled if the property is disabled.
- extra
- Some extra information required by some verbs (see below).
A good way to start is to define your properties with labels and types in the definition.xml file. In many cases this will give you a autogenerated qvpp file which covers your needs. If not you can use it as a starting point for your own properties.qvpp file. Just make a copy of DynProperties.qvpp and modify it to your needs.
A generated Properties Page | |
|
prop_label | Use for labels | |
|
||
prop_dynamicDropdown | Use to create a drop down listbox for Dimensions. | |
|
||
prop_editexpression | Create a text box with the possibility to open the edit expression dialog. | |
|
||
prop_checkbox | Create a checkbox for a field value | |
|
||
mySelect | Create a HTML select element with predefined values. | |
|
||
prop_dlgbuttonjqui | A button to open a dialog | |
|
||
prop_buttonjqui | A button to invoke an operation | |
|
||
list | Define a list of for example Dimensions or Measures. | |
|
||
panel | Used to include another qvpp file. | |
|