Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I have tested this issue with several simple self made extensions and I get the same result all the time. So I must be doing something fundamentally wrong...
The script looks like this (Yeah, very simple...)
------------------------------------------------------------------
Qva.AddExtension("SimpleTest", function ()
{
alert(this.Data.Rows.length);
});
------------------------------------------------------------------
The Definition.xml looks like this:
-------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<ExtensionObject Label="SimpleTest" Description="SimpleTest">
</ExtensionObject>
------------------------------------------------------------------
I create a new QV document, load it with inline data which contains at least 200 rows of information.
I add my extension "SimpleTest" and connect it to one my dimension and add an simple expression like sum(Key).
I activate (webmode enable/disable) the extension - and I get a message box saying I have 40 rows.
I always get max 40 rows from my extension, even though it definetely should contain more than 40 rows.
How can I extend my extension to handle more than 40 rows of data??
Attached is an ready example...
Regards
Robert
try that in your definition.xml:
<?xml version="1.0" encoding="utf-8"?>
<ExtensionObject Label="SimpleTest" Description="SimpleTest" PageHeight="1234">
</ExtensionObject>
try that in your definition.xml:
<?xml version="1.0" encoding="utf-8"?>
<ExtensionObject Label="SimpleTest" Description="SimpleTest" PageHeight="1234">
</ExtensionObject>
Hi. Yup that did the trick! Thanks!
Btw - where can I find a description of all settings and possibilities in the definition file?
http://community.qlik.com/message/171123 is the most complete document about the definition.xml file content, and it is not even part of the sdk......
Thanx. That works fot me also, but with max PageHeight="400". If I specify 500 - I got zero rows. My question where I see example which goes through the next data pages with QvaPublic.DataPage object?
TIA,
Vladimir