Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
christian77
Partner - Specialist
Partner - Specialist

SIMPLE SELECT OR CLEAR ALL MACRO OR ACTIONS DON'T WORK IN AJAX

I need to select certain fields when I enter a sheet, and clear those filters when I exit that sheet. Normally this was an easy duty with a simple triggered action but now it does not work. Neither the macro module does. Does anybody know why?

In other words Select nothing, Clear, Unlock actions DON’T  work in AJAX

Select, Unlock, Clear Macros DON’T work in AJAX.

I’m using QV10 SR3.

Thanks.

1 Solution

Accepted Solutions
christian77
Partner - Specialist
Partner - Specialist
Author

Ok.

To set actions of deselecting or selecting =’’ (empty string) that will be view in AJAX, it´s necessary to set those actions in AJAX view.

I have tried in a server and it works fine.

Other actions like go to sheet work fine any view.

Actions like selecting nothing and other are incompatible from one view to another. Setting both will not work properly.

So, it becomes some painful since we develop in local but those actions set in Ajax just don´t work.

The best strategy is to leave those actions for the end of your developing.

View solution in original post

4 Replies
jerrysvensson
Partner - Specialist II
Partner - Specialist II

Have you checked "Allow unsafe macro execution on server" in System /Qlikview servers/Security

Not applicable

We are in the process of 'converting' to AJAX and have experienced similar problems.

As AJAX does not support a number of macros we are now using triggers as much as possible.  Those tasks you have described - selecting, clearing, locking and unlocking - can easily be done by adding actions to the On ActivateSheet or OnLeaveSheet triggers in Sheet properties.

christian77
Partner - Specialist
Partner - Specialist
Author

Ok.

To set actions of deselecting or selecting =’’ (empty string) that will be view in AJAX, it´s necessary to set those actions in AJAX view.

I have tried in a server and it works fine.

Other actions like go to sheet work fine any view.

Actions like selecting nothing and other are incompatible from one view to another. Setting both will not work properly.

So, it becomes some painful since we develop in local but those actions set in Ajax just don´t work.

The best strategy is to leave those actions for the end of your developing.

christian77
Partner - Specialist
Partner - Specialist
Author

By the way, I'm not the one in the picture.