Forum Discussion

Keesh's avatar
Keesh
New Member
5 years ago

Bookmark export functionality in REACT pbi report

Hi,

I have implemented a pbi report using the react implementation similar to this demo .

I am trying to implement export functionality via the bookmark method similar to the JS bookmark method here .

 

Unfortunately trying to capture the report state via:

report.booksmarksManager.capture()
produces this error:

powerbi.js:1256 Uncaught (in promise) TypeError: Cannot read property 'toLowerCase' of undefined

 

This seems to be attributed to the values in bookmarksManager.config being undefined and never getting populated and this appears to also be the case in react demo.

Is there a way to populate the values in bookmarksManager.config and export reports using this method in a react implementation?

 

Thanks,

Keesh

2 Replies