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: 
satyaprakash
Partner - Contributor III
Partner - Contributor III

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

1 Solution

Accepted Solutions
ErikWetterberg

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/

View solution in original post

5 Replies
ErikWetterberg

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/

satyaprakash
Partner - Contributor III
Partner - Contributor III
Author

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

ErikWetterberg

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/

satyaprakash
Partner - Contributor III
Partner - Contributor III
Author

Thank you!

xunziheng
Contributor
Contributor


@satyaprakash wrote:

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


Hi, why can't I get this in the controller?

Regards