Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

satyaprakash
New Contributor II

qlik backend api

Hi Team,

How to call backend api in qlik mashup ?

In extensions it is available with this inside paint and controller. But not able to get it in mashup.

Regards,

Satya

Tags (2)
1 Solution

Accepted Solutions
erik_wetterberg
Valued Contributor III

Re: qlik backend api

Hi,

The visualization you get from the visualization API has a model with expand and collapse methods, try those.

Something like:

app.visualization.get('xxx').then(function(vis){ //also works with visualization.create

vis.model.expandLeft('/qHyperCubeDef',row,col,false);

});

I assume you would want to do this on a click somewhere, but you need to save a reference to the visualization object.

The documentation for this method is here.

Erik Wetterberg

https://extendingqlik.upper88.com/

https://extendingqlik.upper88.com/
4 Replies
erik_wetterberg
Valued Contributor III

Re: qlik backend api

Hi,

What do you want the backend API for? It's really part of the extension framework, and you can do most of the stuff with other APIs.

Erik Wetterberg

https://extendingqlik.upper88.com/

https://extendingqlik.upper88.com/
satyaprakash
New Contributor II

Re: qlik backend api

I have built pivot table using visualization API. In pivot, expand and collapse functionality currently I am providing. I also need to provide collapse left ( in back end API) for rows and columns.

Is there any other api, using which this can be done?

Regards,

Satya

erik_wetterberg
Valued Contributor III

Re: qlik backend api

Hi,

The visualization you get from the visualization API has a model with expand and collapse methods, try those.

Something like:

app.visualization.get('xxx').then(function(vis){ //also works with visualization.create

vis.model.expandLeft('/qHyperCubeDef',row,col,false);

});

I assume you would want to do this on a click somewhere, but you need to save a reference to the visualization object.

The documentation for this method is here.

Erik Wetterberg

https://extendingqlik.upper88.com/

https://extendingqlik.upper88.com/
satyaprakash
New Contributor II

Re: qlik backend api

Thank you!