Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
jerryhelms2017
Partner - Contributor III
Partner - Contributor III

Mashup - Consolidating many html pages into a single page?

A mashup was developed earlier this year that has around a dozen separate html pages for different topics.  Is it possible to collapse the individual pages to one?  A code sample would be very useful!

3 Replies
PabloTrevisan
Partner - Creator II
Partner - Creator II

Hi,

You can mount a mashup by accessing the dev-hub part of your qliksense ... And yes it is possible to put several objects from different applications.


msh.jpg


https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/Mashups/Content/mashups-getting-star...

balabhaskarqlik

Follow like these:

First of all you need to fetch the data from all your apps (createCube method ‒ Qlik Sense). Eventually merge them together and create a simple filter (select Box or multiple selection box), Then the trigger need to call the select Value methods on all the source app selectValues method ‒ Qlik Sense   .In this way a single selection impact all objects in your mashup, even id coming from different apps.

Create Cube:

https://help.qlik.com/en-US/sense-developer/June2017/Subsystems/APIs/Content/CapabilityAPIs/AppAPI/c...

SelectValues:

https://help.qlik.com/en-US/sense-developer/June2017/Subsystems/APIs/Content/CapabilityAPIs/FieldAPI...

ErikWetterberg

Hi Jerry,

Yes you can merge them into one. It's mainly a problem with space, you might get a crowded page. To solve this you can use standard front-end methods with tabs, scrolling page etc. Try to avoid fetching Qlik Sense objects that are not visible, that is do not fetch the object on a tab until it is opened.

Do they use different apps?? You can use several Qlik Sense apps in a mashup, but selections will be separate, which can be confusing to users. If you want to coordinate selections you need to add some code, not very complicated, but has to be done. Another thing to consider is what happens for users with access to one of the apps used but not all.

Hope this helps

Erik Wetterberg

Extending Qlik – Use Qlik in your own apps and sites