Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Is there any Qlik API that support export from container object.
Please suggest.
Yes, Normal JSON Engine API should work. You have to get the container, and then do second query to get all the children objects. Check the documentation of https://help.qlik.com/en-US/sense-developer/May2021/apis/EngineAPI/services-GenericObject-GetLayout....
@vidyutverma can you please share one sample code, currently I am using below API and logic.
exportdatas('chart1','wdmg')
//here wdmg is object id of container.
function exportdatas(divid,objectid){
app.getObject(divid,objectid).then(function(model){
var d = app.table(model);
d.exportData({'format':'CSV_C','state':'A','filename': 'exportdata.csv','download': true})
});