Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
It seems like it should be fairly simple but I can't figure out how to do an initial selection using Ajax and the Qlikview Server.
The manaul of course says you can use
Document.OnAnySelect
352
Field.OnSelect
Field.OnChange
Field.OnUnlock
Document.OnPressMacroButton
Variable.OnChange
Variable.OnInput
But not to use
The following triggers are not to be used in the QlikView Server environment, since
they lack meaning or may cause unexpected results:
OnPostReduceData
OnPostReload
The OnOpen Trigger does not appear to work with Ajax (although works fine with the ie client)
Anyone have a solution for this?
I want to second that. In my case I was able to get my OnOpen trigger to work on apps opened in a browser (through QV server) by using a variable set in script and then using the variable without a dollar sign expansion. I'm using QV 11.20 SR5.
Tried this without changing anything else and it worked. Thanks!
Rob Wunderlich wrote:
I would push back against the "Working As Designed" for OnOpen not working in Ajax. I don't see anything in the manual for V9 or V10 that limits OnOpen in the server environment. Iif there is a limitation, it should be documented in the manual.
OnOpen with Ajax, action Apply Bookmark, is working fine for me with QV10 SR3.
-Rob
Add another to those that experienced an OnOpen trigger working with Ajax (QV 11.2 SR2). We placed a Date = Today() expression in the trigger, cleared selections and saved fresh copies of the document on the server. We reloaded, selected other dates, closed the ajax sessions, to all appearances and testing the trigger appeared to be working, but it was clear the manual said it shouldn't be.