Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is there a way to export/download table data from a container if the container or sheet is embedded in a mashup? I know it is possible in the native Qlik Cloud environment by right clicking on the table within the container, then "Table" > "Download">"Data", but I can't get it to work when the container or the sheet is embedded on another site-- the option isn't in the right click menu.
I'm using the native Qlik Container and trying to export/download data from container objects (a Table and a Pivot Table).
Hi @kaseym
You can use the Table API on Qlik for that.
In your JS Code use this:
app.getObject('QV1-01', 'KnPft').then(function (reply) {
$('#export-data-QV1-01').click(function () {
var qTable = qlik.table(reply);
qTable.exportData({ download: true });
});
});
Where KnPft is your table object in Qlik.
And on the HTML button you call this id:
<a class="br-button" href="#" id="export-data-QV1-01">
</a>
You can check the ExportData Documentation too:
Let me know if it helps.
-Zapparoli
Check my Youtube Channel for more Qlik Content
https://www.youtube.com/@ZappaAnalytics