Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Our next Qlik Insider session will cover new key capabilities. Join us August 11th REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

get url in variable

Hello my dear fellow qlikview experts

I need your help !

I want to make a variable which catches my url in a variable from my accespoint due to i want to make some urlbased security.

EG.

I have this url: http://localhost/QvAJAXZfc/opendoc.htm?document=QVTEST.qvw&host=Local from my accesspoint when i open QVtest.qvw

In my document i have a textbox with a variable which is hardcoded to: http://localhost/QvAJAXZfc/opendoc.htm?document=QVTEST.qvw&host=Local

But what i get a login parameter so my url becomes to this instead:

http://localhost/QvAJAXZfc/opendoc.htm?document=QVTEST.qvw&host=Local&Kunde=Hansi

How can i make my textbox show this by a variable then? How can i catch my url, even if it changes...?

13 Replies
Not applicable
Author

Basically i just need a variable which can tell me what my url is - even if it changes. And then i need to make a selection on that, because then i can only show data for that users, cause the URL is unique.

jsn
Master
Master

I understand what you're trying to do but I don't think there's a good way of natively grabbing the URL and it feels like it could be easily exploited if someone changes the name in the URL for example.

It sounds like using web tickets for authentication might be more up to the task. See more info here:

http://community.qlik.com/docs/DOC-3614

Not applicable
Author

You cant crab the URL, cause it is made by an guid. So you will never guess the others url

Not applicable
Author

Its not able to be done by macros eg. Jscript or VBscripting??