Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

Explore widget hypercube in console?

Hi,

When creating a Qlik object (hypercube,list) in a mashup it is very convenient to add:

console.log(reply);

to the reply method so it can be explored in the browser.

However, when creating a widget in the dev-hub this is not possible. Is there a way to navigate/visualize the hypercube in a widget?

Without that it's very difficult to navigate a complex hypercube and trying to retrieve data like this:

layout.qHyperCube.qStackedDataPages[0].qData[0].qSubNodes etc..

because it's basically a black box.

Any help is appreciated.

Thanks!

1 Solution

Accepted Solutions
Highlighted

Hi,

You can add this to your template, like for example:

<div>{{layout.qHyperCube.qStackedDataPages[0]}}</div>

work your way down into the structures you need. angular takes care of undefined objects etc, so you don't have to worry.

Erik Wetterberg

View solution in original post

2 Replies
Highlighted

Hi,

You can add this to your template, like for example:

<div>{{layout.qHyperCube.qStackedDataPages[0]}}</div>

work your way down into the structures you need. angular takes care of undefined objects etc, so you don't have to worry.

Erik Wetterberg

View solution in original post

Highlighted
Partner
Partner

Thank you so much!!! This will save me a lot of headache!