Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Can you get the URL in Qlikivew Application

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

1 Solution

Accepted Solutions
Not applicable
Author


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

View solution in original post

13 Replies
agomes1971
Specialist II
Specialist II

Hi,

are refering to this?

Passing Parameters in a URL and Document Chaining

Regards

André Gomes

Not applicable
Author

Yes thats the one.

agomes1971
Specialist II
Specialist II

So now you just have to mark the answer as correct to close the thread...

Peter_Cammaert
Partner - Champion III
Partner - Champion III

If it works in AJAX, then I guess that's as far as you can go. The document loaded in the PlugIn (OCX) isn't even aware that it is being displayed in a browser.

You probably already discovered this one: AJAX and URL parameters

Peter

Not applicable
Author

Yes I was referring to that document but as it only works with AJAX it hasn't solved my problem. Sorry to clarify my query is: Can I extract the URL into a string that can be parsed as I am running IE Pluggin the above thread cannot help.

agomes1971
Specialist II
Specialist II

Hi,

you can always try this approach...

http://tools.qlikblog.at/QlikView-Mashups/

Regards

André Gomes

Not applicable
Author


Yeah thats exactly where I got stuck so I came up with this idea to parse it out of the URL string using the string functions.

The URL will always contain a CustomerID I already know this and although the IE Pluggin does not accept the parameter it still directs you to the application, my idea is to then parse out the CustomerID and create an on open trigger. It would be a massive hack but if I can find a way to read the URL into a qlik string similar to the function documentpath() I could do it.

agomes1971
Specialist II
Specialist II

Hi,

I'm using qlikview to pass parameters to an aspx page to make a submition to a SQL Server Database and it works perfectly.

Regards

André Gomes

Not applicable
Author

I am trying to pass parameters into Qlikivew.

I have already created functionality to pass paramters out of Qlikview to open the database interface with a specific customerid selected using the open url action.