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

Passing in a user defined document variable in AJAX (QV11 Sr2)

I've read posts regarding passing in selections ect in the URL. I'm trying to pass in a variable that is defined in the document. For example I want to set the value of vMyVariable=1 via the url:

http://localhost/QvAjaxZFc/opendoc.htm?document=SomeDoc.qvw&vMyVariable=1&userid=0

Anyone ever do this?

Labels (1)
4 Replies
Anonymous
Not applicable
Author

In QV10 this was officially documented in the QVS manual. Not quite sure where it's gone in QV11, but you can give it a try:

Handing over a variable is imho only possible with IEPlugin; with AJAX you are only allowed to handover listbox-selections (or BookmarkIDs). May this helps in your situation. Syntax is similar to:

http://AccessPoint1/QvAJAXZfc/opendoc.htm?document=Data%20Visualization.qvw&host= localhost&select=Document\LB02,Germany,Argentina,Albania&select=Document\LB01,Grunewald

See page 232 in QV10SR1 Server Manual!

Not applicable
Author

You are correct in that is supported and working in the IE plugin. We also do the same usng the OCX.

Thanks for your reply!

Not applicable
Author

You are correct in that is supported and working in the IE plugin. We also do the same usng the OCX.

Thanks for your reply!

Not applicable
Author

You are correct in that is supported and working in the IE plugin. We also do the same usng the OCX.

Thanks for your reply!