Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
addajimmy
Contributor
Contributor

Data Loader Via JS

hey ,

i am trying to load Data To all my app in qlikSense Desktop,

i wrote the script  that loops through all the apps using GetDocList function, and i pass the app name a function That Load The Data via QlikSense JS API (every iteration) but i need to "Wait" for every doc\Doc to be loaded\Updated before the next iteration. can you help me???

another thing i noticed is that if i have an  loadData Error it continues without displaying the error, hoe can i deal with "Load Data" Errors?

Labels (3)
1 Reply
ajaykakkar93
Specialist III
Specialist III

hi,

Use promise to perform the action 
.then(function(reply){
....
});

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting