Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Using qlik field getData api.
var abc = app.field('some_field).getData();
abc.OnData.bind(function(){
console.log(abc.rows.length) // here sometimes length is coming as zero
abc.rows.forEach(function(row){
// here is some condition
}
});
I am using this script in mashup. In qlik extension it has always worked but in mashup sometimes rows is having values and sometimes it won't. Here, field name is same always.
Any help?
Satya
Hi Satya,
Can you share a demo .qvf application so that I can test the code?
Hi Vikraant/Ajay,
We have to apply default date selection while opening an app based on some condition. Earlier just after opening an app i was reading get Data from field. So, sometimes data was coming and sometimes it won't. Now, i have moved code to last. (all things will be done and then using this api operation).
It is working now.
Thanks.
Try this extension for qlik sense sheets