When I called webdatarocks.getReport function Cannot read property 'toObject' of undefined
When I called getReport function throw “Cannot read property ‘toObject’ of undefined”.
How can i fix bug?
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.