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

Alternate states, triggers OnActivateSheet and distribution

Hi guys,

Let me explain issue we're facing with using alternate states, triggers OnActivateSheet and distribution concurrently.

QlikView document has triggers OnActivateSheet that make selections on fields in some alternate states. This QlikView document is reloaded and distributed to folder to be accessed from Web.

The issue is:

When document is already opened in web and distribution happens - according to audit log - triggers OnActivateSheet apply. BUT, for some reason, they apply on default state instead of taking into consideration alternate states. The whole application is broken in result because default state is corrupted.

Do you have any suggestions or maybe it is reported bug?

Thanks in advance.

3 Replies
jerrysvensson
Partner - Specialist II
Partner - Specialist II

Hi

First, are you using WebView (ajax) as client? OnActivateSheet triggers doesn't work then.

I am using triggers on alternate state and it works. Can you give more specific info on what your code does?

Not applicable
Author

Hi Jerry,

Thanks for reply.

Those triggers do not work when you go from one sheet to another - using actions on buttons, e.g.

We are using Ajax and OnActivateSheet triggers work when you open specific sheet (we need this to set default state of each sheet when document is already opened). And taking into consideration audit log - triggers work when document is being updated after distribution.

Haven't you faced such issue?

jerrysvensson
Partner - Specialist II
Partner - Specialist II

Hi

Have you tried hide the tabrow and using buttons instead to navigate?

Doing that you can use triggers to set initial state.

That is how we do it.