Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is there any such function as Get URL... basically I am trying to return the URL the user entered within the document similar to how the function osuser() returns the current person accessing the document.
I am trying to pass selections in a URL through to a Qlikivew app, this seems quite doable if I was using AJAX but as always it won't with IE Pluggin. I had the idea to parse out the selection from the URL but can't figure out how to get the URL in the document to do this.
Any help would be appreciated,
Carly
Yes I understood.
So you are familiar with this kind of stuff... <iframe src="http://localhost/QvAJAXZfc/opendoc.htm?document=Sales%20Compass.qvw&select=LB5698,2008,2009&select=LB5699,Q1" />
Now you just want to pass parameters inside the qlikview...
I think this is possible but only with WorkBench...
Regards
André Gomes
Found a way to do it using the qlikivew protocol to pass a variable through from the URL, I then use the open on action to select in field customer No = Variable.
qvp://server_name/Document_name.qvw?vTest=40
Hi Carly,
did you find a way to get the URL the user entered within the document?
I need to recognize the URL, or its protocol, but no one knows how to do.
Thanks
Elena
 
I did partly solve it for what I was requiring it for anyway:
We have a piece of software that looks at our customer information. We wanted to create a button in this software that allowed you to go straight to the Qlikview app and select that customerID. To do this I need to provide the developers a URL they could use to open Qlikview and select customerID. The reason I wanted the URL was I wanted to pass this CustomerID parameter from the URL.
Note: This is an IEPluggin solution not AJAX
I did the following:
1. Created a variable in my document called vCustomerID
2. I provided the following URL to the developers telling them they needed to populate '1234' with the cusomerID they were in:
qvp://server_name/Document_name.qvw?vCustomerID=1234
3. I created a trigger on openning of the document (Found in settings>document properties>Triggers) that selected in field CusotmerID searchstring vCustomerID
4. In the script I set the variable to be zero so everytime it reloaded the variable will be set back to zero (just encase)
let vCustomerID = 0;
This meant the customerID was populated with the variable vCustomerID which would be populated by its presence in the URL. If the users openned the app in the normal way this variable would not get populated and they would not have a preselected customerID