Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, in order to embbed an object from the Qlik Sense application, what is the difference betweer using the app API https://qlik.dev/apis/javascript/capability/#definitions-qapp-entries-getobject:
app.getObject("LB01","uPyZavD");
Or use the visualization API https://qlik.dev/apis/javascript/capability/#definitions-qvisualization-entries-show
var app = qlik.openApp('c31e2aba-3b46-4b13-8b87-c5c2514dea1d');
app.visualization.get('xGhjKl').then(function(vis){
vis.show("QV01");
});
I think the difference is getObject is synchronous, including waiting for the object and showing it.
visualization.get is asynchronous.
The recommended approach going forward is to use the qlik-embed library rather than the capability APIs.
-Rob
I think the difference is getObject is synchronous, including waiting for the object and showing it.
visualization.get is asynchronous.
The recommended approach going forward is to use the qlik-embed library rather than the capability APIs.
-Rob