Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
amsystem
Partner - Contributor II
Partner - Contributor II

API Integration - Filter Problem

Hi,

We are doing an integration of mashups and sheets in a external web app via API. When initializing the objects, we are establishing a filter this way:

 

aApps[idx].field(clave).selectValues(param[key], true, false);

 

In our page we have some action buttons in order to go back, forward  and clear all filters.

 

When pushing the clear all filter button, all the filters, except initial, are cleared. Perfect. The problem is when pushing repetedly the back button, the initial filter is cleared at all.

 

Is there a way to go back without deleting the initial filter?

 

Code for clear all button: aApps[idx].clearAll();

Code for back button: aApps[idx].back();

 

Thanks

Labels (4)
1 Solution

Accepted Solutions
amsystem
Partner - Contributor II
Partner - Contributor II
Author

Hi,

We have been able to solve this problem with the property "selectionState().backCount", with this we controller the button back pulsation and verify if this is a action correct or no.

Thanks

View solution in original post

1 Reply
amsystem
Partner - Contributor II
Partner - Contributor II
Author

Hi,

We have been able to solve this problem with the property "selectionState().backCount", with this we controller the button back pulsation and verify if this is a action correct or no.

Thanks