Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Qlik1_User1
Specialist
Specialist

Qlik export API for container object

Hi All,

Is there any Qlik API that support export from container object.

Please suggest.

Labels (1)
4 Replies
Øystein_Kolsrud
Employee
Employee

What kind of export are you referring to? Do you mean export of data? If so, then I'd expect you'd have to do the export on the individual objects contained within the container.

Qlik1_User1
Specialist
Specialist
Author

@Øystein_Kolsrud Yes export of data, already tried to export via API's but that is not working.
Function used is but not working, kindly help here.

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})

});

Øystein_Kolsrud
Employee
Employee

I'm afraid I don't know those JavaScript APIs, so others will have to help you there. From the Engine APIs point of view, the way to export is to point to the hypercube of a generic object using this method:

https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/EngineJSONAPI/Content/service-generic...

Qlik1_User1
Specialist
Specialist
Author

@Øystein_Kolsrud Can you please tag someone who can help here. It seems to be an limitation of container object with respect to mashup.