You can add a line to the opendoc.html file
var d1 = Qva.ExtractProperty("param1", null);
var d2 = Qva.ExtractProperty("param2", null);
This is the ajax method for getting its own parameters like document and object. I have used in with QV10 and if I understand you correctly this maybe what you want?