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

How to create Common Filters in MAshup

I am trying to integrate two applications using mashup, I want to add a filter that applies to both the applications 

Labels (1)
6 Replies
Grethe7m
Contributor
Contributor

This blog is about applying filter selection across multiple applications from a mashup. This is essential in scenarios where we have apps that share common data fields.For example, HR system and project management systems may have different data and for some reason this need to be separate, we can merge them together in the mashup and apply filters together.

In this example, for simplicity, a copy of Helpdesk app, that is part of the example apps that comes along with
Qliksense desktop implementation, is created and a chart title is renamed for explanatory purpose.
You can download the working source code of this mashup.

One main objective of this approach is to NOT use any custom filters as that would require additional development and maintenance efforts. Also, if not implemented correctly it may lead to performance degrade.

Technically, one may encounter two scenarios where filter needs to be applied on more than one app.

Secnario 1: A single page that renders visualization from more than one app to the user

Scenario 2: Two separate modules (pages) exist and user goes from one module (page) to another and the context (filter selection) needs to be preserved between the modules. Or there is a need to preserve selection between two different sessions.

ajaykakkar93
Specialist III
Specialist III

You can do this using capablity API -> field API -> selectvalues function 
Logic : 
you need to capture the value selected in app 1 & apply the same in app 2 using field API & getselection method 

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

Grethe7m
Contributor
Contributor

The requirement is to create a mashup in qlik sense with multiple application that have a common filter. Could you please suggest/guide.I am trying to integrate two applications using mashup, I want to add a filter that applies to both the applications - 1921073.
ajaykakkar93
Specialist III
Specialist III

You need to use 

capablity API -> field API -> selectvalues function 

In both app 

or can go through my Cource in Udemy API Especial & mashup 

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

Qlikuser09
Creator II
Creator II
Author

Does Any of your Qlik Sense Mashup from Scratch | Udemy  covers this ?? Integrating different apps and applying common filters?? @ajaykakkar93 

ajaykakkar93
Specialist III
Specialist III

Yes, it has

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting