When I called webdatarocks.getReport function Cannot read property 'toObject' of undefined
Hi,
When I called getReport function throw “Cannot read property ‘toObject’ of undefined”.
How can i fix bug?
1 answer
Hi,
The error could occur if the getReport
function is called before the component is fully created.
I fixed this problem by using the reportcomplete
WebDataRocks event: https://www.webdatarocks.com/doc/reportcomplete/.
Hope this helps.