Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
When loading an app into an iframe, there is some way to interact with it?
I'm trying to navigate using qlik.navigation.nextSheet() but it returns NOCURRENTSHEET..
Tks in advance
Hi @marcosalmeidaCTBA ,
Navigation API works only when used in an extension, but you should be able to manipulate the IFrame's url, ex:
function goToSheet(sheetId){
document.getElementById('iframeID').src=`http://QS_SERVER/sense/app/APP_ID/sheet/${sheetId}/state/analysis`;
}
for getting the sheet list, you can use the `getList` method -> https://help.qlik.com/en-US/sense-developer/September2019/Subsystems/APIs/Content/Sense_ClientAPIs/C...
I hope this helps