Qlik Community

Qlik Design Blog

All about product and Qlik solutions: scripting, data modeling, visual design, extensions, best practices, etc.

Employee
Employee

Qlik Sense URL "hacks"

A few weeks ago, Francis wrote a piece here about the (formerly) secret developer menu accessible via URL, Developer menu is a great finding but is not the only one URL hack available. These are some of the URL “hacks” I use:

/options/developer

More info here: Developer menu in Qlik Sense client

/language/language_key

Adding /language/key will change the client language for that tab session. Remember you can always check the available client languages by checking Dev Hub

https://localhost:4848/app/app_id/sheet/sheet_id/state/analysis/language/es_ES

DevHub.png

/theme/theme name

Likewise, you could change the theme of an app by specifying the theme name in the URL.  Also remember you can check the available themes in Dev Hub.

https://localhost:4848/app/app_id/sheet/sheet_id/state/analysis/theme/qdt theme

/identity/id

By specifying an identity id you can create selection realms. For example, you could have 2 different tabs open in the same browser as:

https://localhost4848/app/app_id/sheet/sheet_id/state/analysis/identity/1

https://localhost:4848/app/app_id/sheet/sheet_id/state/analysis/identity/2

Selections performed under “identity 1” won’t impact on the tab session “identity 2”, alternatively you could share selections in different browsers by using the same identity in each one of them.

/ttl/seconds

Adding /ttl/ and a number representing seconds will override the settings of session-expiry time in the server, setting it up to the number specified in seconds. For example, adding 1800 will set the expiration time for the session to 30 minutes.

https://localhost:4848/app/app_id/sheet/sheet_id/state/analysis/ttl/1800

As a general disclaimer, please note that anything that isn't documented or officially supported is subject to change in the future. Handle it with care.

Arturo (@arturoqv)

11 Comments
jonathanpoyer
Contributor

Thanks amz‌ for sharing!

Regarding ttl, is there a ttl/0 option so it never expires?

23 Views
MVP
MVP

For anyone missing alternate states from QlikView the Identity URL extension is a fantastic addition.

Thanks for sharing!

23 Views
Employee
Employee

Yes, it works exactly like that

23 Views

Cool. So up to five people can use the same user login and license token and still work with their own selections.

23 Views
MVP
MVP

So, you have also had this conversation with clients?

Client: Sense is going weird, it makes it's own selections. How do I stop it?

Me: Raise a purchase order for the correct number of licences

Client: Oh...

23 Views

Nope, not yet. Just something that sprung to mind when reading this blog post.

0 Likes
23 Views
tomasz_tru
Valued Contributor

/engine/healthcheck/

0 Likes
23 Views
karthiksrqv
Contributor II

Hi,


Are there any other hacks like these ? I mean, generally, how did you stumble on these?

0 Likes
23 Views
eliran_s
Contributor II

Hi,

/identity/id is super important, especially when you go to embedded solutions.

Scenario: Customer is using CRM system, each customer he's looking at gets data from a sense app.

The customer is opening few tabs for each of his customers, each new tab must include a different identity in order to have the ability to look at different customers.

23 Views
rva_heldendaten
Contributor III

At least /engine/healthcheck is well documented.

https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/EngineAPI/Content/GettingSystemInfor...

All the other "hacks" are not available on help.qlik.com --> so unfortunately I expect those to be not supported. Therefore we can't use them at customers.

23 Views
erik_wetterberg
Valued Contributor III

The theme parameter is documented in the App Integration doc:

https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/APIs/Content/app-integration-api.htm

and in Single integration:

https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/APIs/Content/single-integration-api....

The identity and lang parameters are also documented for Single. For some integration scenarios the identity parameter is essential.

Erik Wetterberg

https://extendingqlik.upper88.com/

23 Views