Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
chriscammers
Partner - Specialist
Partner - Specialist

Opening Document on Server by URL: How to pass a parameter?

I'm working with QVS 9 running the default Qlikview web services.(Not IIS)

I would like to open a QVW using a url but I want to pass a parameter from the URL to a variable in the document. Later I will use the value of this variable to make a selection but for now I'm happy just to show it on the screen.

I've tried adding a parameter to the link used by the Access point to open the document but this is not working. The document opens but the parameter does not seem to be applied.

http://myserver/QvAJAXZfc/AccessPoint.aspx?open=&id=QVS@myserver|mydoc.qvw&client=Ajax&UserParam=123

Am I approaching this the right way or should I be trying something else??

Thanks

21 Replies
chriscammers
Partner - Specialist
Partner - Specialist
Author

Yeah, passing the userid and password is good but in CRM the user has access to many accounts so what I would like is the dashboard to make the default selection based on the account that the user was viewing in CRM. Then if the user wants to see the dashboard with all of his/her accounts they can just clear the account selection. The cool part is that I was trying to integrate it into the account form as an iFrame so it is important to show only the current account.

Not applicable

Hi,

I've got a similar problem with SuperOffice. Did you ever solve the problem?

chriscammers
Partner - Specialist
Partner - Specialist
Author

Sorry, not yet. I've put it in as a suggestion for enhancement.

Not applicable

I have heard the the following works (and appears to using QlikView's demos) but I have not yet got it to work in my own environment:

Selecting a single item. Must use the List Box ID followed by a comma and then the search term:
http://localhost/QvAJAXZfc/opendoc.htm?document=demo.qvw@select =LB01,Gloves

Selecting more than one item, separate by commas, also illustrates that you must use %20 to replace spaces in search terms:
http://localhost/QvAJAXZfc/opendoc.htm?document=demo.qvw&select=LB03,Bike%20Stands,Gloves

This is also demonstrated in the following post:
http://community.qlik.com/forums/p/24531/101135.aspx#101135

Let me know if you manage to get this working.

ashfaq_haseeb
Champion III
Champion III

had someone successful?

Not applicable

business_support gives a good idea!

Not applicable

yes, startup selections in ajax worked for me. The following url makes some startup selecitons in existing listboxes LB138 and LB139:

http://myQVServerName/QvAJAXZfc/opendoc.htm?document=MyReportName.qvw&select=LB139,*10*&select=LB138...

Not applicable

Not applicable

You need to use an '&' to separate name value pairs so in your case it will be:

http://ing15/QvAJAXZfc/AccessPoint.aspx?open=&id=QVS@ing15%7CAktiviteter.qvw&client=Ajax&select=TB02...

Not applicable

Same question,

had someone successful?