Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

jmvilaplanap
Valued Contributor

Get active sheet name/id from Qlik Sense Dashboard

Hi guys,

I'm trying to obtain the active sheet from my QS Dashboard, in Qlik View exists the function GetActiveSheetId(), but in QS doesn't appear.

Someone knows the workaround?

Thanks a lot.

3 Replies
undergrinder
Valued Contributor II

Re: Get active sheet name/id from Qlik Sense Dashboard

Hi Jose,

I don't know, whether exist this kind of function or not, but you can get the sheet id from AppURL.

.../sense/app/TST.qvf/sheet/ad9c308e-748a-4182-a9df-c396dbe82624/state/edit

If you use Desktop version, open QlikSense and open a browser with http://localhost:4848/hub/ and navigate to sheet, and there is the SheetID in URL.

G.

jmvilaplanap
Valued Contributor

Re: Get active sheet name/id from Qlik Sense Dashboard

Thanks undergrinder‌, but I want this feature to control in which page is the user, not for know the page id.

I'm using an extension called cubic-change-sheets-actions (https://github.com/cubiqanalytics/cubiq-change-sheet-actions)

undergrinder
Valued Contributor II

Re: Get active sheet name/id from Qlik Sense Dashboard

I like this extension, I'll try it out.

I didn't find any method to elaborate which sheet is active, but an API document:

https://help.qlik.com/en-US/sense-developer/3.1/Subsystems/APIs/Content/NavigationAPI/getCurrentShee...

I think there is no easy method for this.

G.

Community Browser