i'm currently trying to understand how to use the qvpx protocol to access core api methods, but i'm still a bit confused
so far i've made a little c# project sending requests to the /qvajaxzfc/qvsviewclient.asp, and tested it with the example given at the end of the "QlikView Server API" documentation (the one starting with : <Global method="OpenDoc">). It worked fine, but i have some more questions that need answers :
- what methods are allowed or forbidden when called via the qvpx protocol ? Are they exactly the same as the standard automation API ?
- how are those methods called ? the second (and last) example from the documentation is <Doc method="GetSheetObject">, so i think the syntax is <ObjectType method="ObjectMethod">, but trying this after assuming my last point is true yielded only <message text="Invalid method" />. What am i doing wrong ?
- what is the meaning of the <_retval_>Doc:1</_retval_> returned after the global OpenDoc method ? how am i supposed to use it ?
- is there a more meaningful documentation/tutorial/example about this api ?
The qvpx API seems to be either very poor documented or very nonfunctional at all...
I am currently trying to export bitmaps of charts via a windows service and cant use neither ocx (which would do the export without problems and only some little code) because its a activeX which doesnt realy run as a service nor can i find any other working solution.
If you dont know the answer but the email adress of one of the ocx developers this would help too
<!-- response #1 : document was opened, its handle is 1 (you can have only one document per session, so this handle isn't required for document methods) --> <Global> <_retval_>Doc:1</_retval_> </Global>
I do not know the cause of this problem. I don't remember what version I used to make my tests. Anyway, calling API methods from QVPX methods won't be possible anymore in version 10, so implementing an application based on this feature will become obsolete real fast.
I do not think there is something to replace this feature. As far as I have understand, qvpx will now handle only the refreshing of the sheets and objects contents. I think there was improvement in the server webservices, but if I remember correctly they are useful for the administration instead of the document interaction.
Why do you need qvpx global methods? Maybe there is another way to achieve your goal.