Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
New Contributor II

GetActiveSheetObjects returns ubound=-1 on ajax client


i need a little help.

What I want to do: I have a table which should open another tab on click in the table.

What I tryed: I used the document field event trigger to call a macro to do the stuff I need. In that macro I check if the click orginates from that table or from another sheet object (listbox, current selections), in that case nothing should be done.  

My macro snippet:



if ok = true then

     'do my stuff

end if

I publish that on the Server and it works fine when I use IE and the Plugin, but if I use another browser or IE with full browser version it does not work.

Somehow there is no active sheet object, ubound(objs) returns -1

Any ideas how to solve my problem?


for each obj in objs
     if obj.GetObjectId() = "Document\CH89" then
          ok = true
     end if

Tags (1)
1 Reply
New Contributor II

Re: GetActiveSheetObjects returns ubound=-1 on ajax client

I found a workaround for my issue:

I duplicated the monitored field and added the field event trigger to that field. My table uses the duplicated field as dimension. If I click the table the macro is executed. So I don't need to check which sheet object is currently active.

Community Browser