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!
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
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
Thank you so much!!! This will save me a lot of headache!