Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
tversweyveld
Partner - Contributor III
Partner - Contributor III

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
ErikWetterberg

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
ErikWetterberg

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

tversweyveld
Partner - Contributor III
Partner - Contributor III
Author

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