Hi, im very new to qlik.
I am trying to retrieve data from a table, I heard the best way to go about this is by using getHybercubeData.
useEffect(() => {
let qObject;
const result = qObject.getHyperCubeData({
qPath: '/qHyperCubeDef',
qPages: [
{
qLeft: 0,
qTop: 0,
qWidth: 5,
qHeight: 100,
},
],
});
console.log(result);
}, []);
However im getting an error stating 'Cannot read properties of undefined (reading 'getHyperCubeData')