Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

hanstorsvik
New Contributor II

Sheet navigation with Widgets

Hi,

So I created a widget for navigation.

But it only works when hard coding the values?

But when I look into the DOM explorer (F12)

I got the same code for the 2 links...

<div>{{navigation.getCurrentSheetId().sheetId;}}</div>

<div ng-click="navigation.gotoSheet('{{settings.Link1}}');">{{settings.Link1}}</div>       Don't work

<div ng-click="navigation.gotoSheet('44317e68-c4fe-42c7-8cd7-a67f4baf5f06');">{{settings.Link1}}</div>  Work!!!

resultingDom.PNG

So what I'm I missing?

And Yes I already looked into various Extensions and so...

BR

Hans

1 Solution

Accepted Solutions
hanstorsvik
New Contributor II

Re: Sheet navigation with Widgets

Ok,

I found the answer...

Just use <div ng-click="navigation.gotoSheet(settings.HsheetId);">{{settings.HsheetId}}</div>

BR

Hans

1 Reply
hanstorsvik
New Contributor II

Re: Sheet navigation with Widgets

Ok,

I found the answer...

Just use <div ng-click="navigation.gotoSheet(settings.HsheetId);">{{settings.HsheetId}}</div>

BR

Hans