Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

URL to Tab Functionality?

I'm pretty sure this isn't possible but is there a way for a person to receive a URL which, when they click upon it, takes them to a specific tab in a Qlikview app?

1 Solution

Accepted Solutions
disqr_rm
Partner - Specialist III
Partner - Specialist III

Sure, Enclosed is an example.

Open the qvw directly and see it set to Tab1.

Open with the batch file, and see it set to Tab2. Batch file does the same thing as URL, just setting variable vTab using /v switch.

When calling from URL you just need to send vTab=02 (or any other tab values) as URL parameter.

Hope this helps.

View solution in original post

13 Replies
Not applicable
Author

how about this?

Not applicable
Author

Hi bcolgan85,

If you are deploying QlikView documents using Ajax on the Enterprise server then you can select the sheet by referencing the sheet ID. The sheet ID is found by right clicking the desired tab and viewing the sheet properties. Sheet ID can be found in the top right corner of the properties window. The structure of a typical URL is:

http:\\<server>\qlikview\ajaxzfc\<model name>_ajax\<sheet id>.htm

I hope this helps.

Rod

disqr_rm
Partner - Specialist III
Partner - Specialist III

1. Specify a variable, say vTab, in your document

2. When you call your URL, you can set a value to this variable: http:/.myqvserver/text.qvw?vTab=2

3. In your document havea trigger on "Document Open" which will activate the specific tab based on the vTab variable value.

Hope thisgives you an idea. Let me know if you want a sample to refer to.

Rakesh

Not applicable
Author

Hi Rakesh,

This sounds like a good idea but would this not mean that everyone who opens the qvw is directed to this tab? It is only certain users who wish to be taken automatically to the tab.

Regards,

disqr_rm
Partner - Specialist III
Partner - Specialist III

No, when you save your QV document, make sure to clear this vTab variable. Then set it via URL when user is opening it. This way, variable value is not saved in document. If user coming via URL and if it has a vTab parameter, it will redirect to that tab, otherwise user will see the tab you have saved the document at.

Not applicable
Author

Thanks Rakesh, if you have a sample could you please post? thanks again

disqr_rm
Partner - Specialist III
Partner - Specialist III

Sure, Enclosed is an example.

Open the qvw directly and see it set to Tab1.

Open with the batch file, and see it set to Tab2. Batch file does the same thing as URL, just setting variable vTab using /v switch.

When calling from URL you just need to send vTab=02 (or any other tab values) as URL parameter.

Hope this helps.

Not applicable
Author

Hi Rakesh

I tried to open your file tab.qvw with the variable

http://ber224s/QvAJAXZfc/opendoc.htm?document=QV_APPS_NAS/PROD/CONTROLLING/tab.qvw?vTab=1

It didn't work and I got an error msg "file not found". Can you help?

Thanks in advance

Markus

Not applicable
Author

Hi Rakesh

I tried to open your file tab.qvw with the variable

http://ber224s/QvAJAXZfc/opendoc.htm?document=QV_APPS_NAS/PROD/CONTROLLING/tab.qvw?vTab=1

It didn't work and I got an error msg "file not found". Can you help?

Thanks in advance

Markus