Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to call a webService, when a selection is made in QlikSense

Hi everyone,

I've managed to create an webService call from javascript with hard-coded values.

Now, i want to pass 2 variables from qliksense interface to a extension who calls this webservice, everytime when a selection is made.

I'm stucked here, any advice is welcome.

Paul S.

3 Replies
beck_bakytbek
Master
Master

Hi Satmar,

what do you mean with WebService? Like Email-allerting?

Beck

Anonymous
Not applicable
Author

Hi Beck,

I've implemented a WebService (WS) who receives 2 params and insert them in my oracle database, using POST method.

Paul S

ErikWetterberg

Hi,

The easiest way to get notified when a selection is made is to add a qSelectionObjectDef to your initialProperties. (Described very briefly in my Generic Object Introduction).

Your paint method will then be called every time selection state changes.

Note that this will give you notification not only when selections are made, but also when selections are cleared,. And when the user is interacting with a visualization, you will be called for every change in selections (might miss some, if it is a big document), so theer will be a lot of calls.

Hope this helps

Erik Wetterberg