Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
marcosalmeidaCTBA
Contributor
Contributor

qlik.navigation.nextSheet() in mashup

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

Labels (2)
1 Reply
Aiham_Azmeh
Employee
Employee

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