Hey! Are you staying home? We are too. Still, we prepared a new product release for you!🚀

We hope it comes in handy for your business especially these days. Stay safe & pivot on!

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?

1 answer

Hugo Martinez June 16, 2020

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.

Please login or Register to Submit Answer