Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
billgates
Contributor

[qlik sense 3.0] Question about receiving data from field programmatically

Hello, I'm new in qlik and i'm trying to work with qlik programmatically.

var field = app.field("my-field-name");

var fieldData = field.getData();

console.log("fieldData");

console.log(fieldData);

console.log(fieldData.rows.length);

h_1474967068_8493816_de075fd395.png



As result i have array with length 0.

And of course i can't work with him.

And my question is:

What should i do to receive 12.


Thanks.



Tags (2)