Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
mellerbeck
Creator II
Creator II

How to do an initial selection with Ajax and Qlikview server

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?

12 Replies
Not applicable

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.

bdiamante
Contributor III
Contributor III

Tried this without changing anything else and it worked. Thanks!

evan_kurowski
Specialist
Specialist

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

http://robwunderlich.com


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.