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)

15 Comments
Partner
Partner

Thanks amz‌ for sharing!

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

2,890 Views
MVP & Luminary
MVP & Luminary

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

Thanks for sharing!

2,890 Views
Employee
Employee

Yes, it works exactly like that

2,890 Views
MVP & Luminary
MVP & Luminary

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

2,890 Views
MVP & Luminary
MVP & Luminary

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...

2,890 Views
MVP & Luminary
MVP & Luminary

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

0 Likes
2,890 Views
tomasz_tru
Valued Contributor

/engine/healthcheck/

0 Likes
2,890 Views
Partner
Partner

Hi,


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

0 Likes
2,890 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.

2,890 Views
Partner
Partner

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.

2,890 Views
ErikWetterberg
Honored Contributor

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/

2,890 Views
sundip
New Contributor

I know this is old post but I trying to pass selections via URL in one of my Qlik sense App.

So I am using url in dimension that opens a different sheet on a new tab. But my selection has '/' backward slash in it that hampering my selections to pass on to next sheet.

https://localhost:4848/app/app_id/sheet/sheet_id/state/analysis/select/DIM/'&[DIM]

I using DIM value as it is available in the chart column. But the DIM value has '/' in it for example... 'USA/NY' so it's opening a new tab with following URL

https://localhost:4848/app/app_id/sheet/sheet_id/state/analysis/select/DIM/USA/NY

No selection is happening. But if value is having no '/' are opening perfect.

So I have 2 questions:

- How can handle this scenario if we have / in value to be passed

- How can we open this URL on same tab instead of opening to next tab?

 

Thank you.

 

 

I have 2 questions

 

 

0 Likes
1,130 Views
Partner
Partner

I haven't worked with this solution before, but the easiest thing would be to replace the '/' in your data USA/NY and replace it with USA%20NY (this is a space like: USA NY), USA-NY or USA_NY.

Jordy

Climber

0 Likes
1,109 Views
sundip
New Contributor

Yeah That's what I want but data is static and we can not change it as it has business logic to show that way.

0 Likes
1,010 Views
Partner
Partner
0 Likes
996 Views