Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
RSvebeck
Specialist
Specialist

Simple question: Why max 40 rows in my Extension?

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

Svebeck Consulting AB
1 Solution

Accepted Solutions
Not applicable

try that in your definition.xml:

<?xml version="1.0" encoding="utf-8"?>
<ExtensionObject Label="SimpleTest" Description="SimpleTest" PageHeight="1234">
</ExtensionObject>


View solution in original post

5 Replies
Not applicable

try that in your definition.xml:

<?xml version="1.0" encoding="utf-8"?>
<ExtensionObject Label="SimpleTest" Description="SimpleTest" PageHeight="1234">
</ExtensionObject>


RSvebeck
Specialist
Specialist
Author

Hi. Yup that did the trick! Thanks!

Svebeck Consulting AB
RSvebeck
Specialist
Specialist
Author

Btw - where can I find a description of all settings and possibilities in the definition file?

Svebeck Consulting AB
Not applicable

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......

Not applicable

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