Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capturing bookmark state and applying it in new session #26

Open
MateRadz opened this issue Jun 21, 2020 · 1 comment
Open

Capturing bookmark state and applying it in new session #26

MateRadz opened this issue Jun 21, 2020 · 1 comment

Comments

@MateRadz
Copy link

Hi,

I have a requirement to preserve bookmark state between sessions:

https://github.com/Microsoft/PowerBI-JavaScript/wiki/Bookmarks

So I need to retrieve current bookmark state on request, and being able to pass it when starting.

Is it accomplishable with the current state of this component?

@MateRadz
Copy link
Author

Probably the library has to be modified in the way that it accepts callback as a prop. This callback should accept power object. After successful embedding the parent component could capture and/or apply bookmarks on e.g. some button actions, by calling e.g. .bookmarkManager.capture(). Also Report.On event passed back to the parent somehow would be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant