Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
Is there a way of specifying a bookmark to be selected when an Embedded / Public iFrame report is loaded?
I know in an iFrame you can put &navPaneEnabled = 0 for example, I was wondering if there was something similar for a bookmark?
Solved! Go to Solution.
Hi @spencerdeane ,
According to the official article description:
In an embedded report, developers can:
And to get the list of saved bookmarks associated with a report, call the getBookmarks method of the BookmarksManager object returned by the report's bookmarksManager property.
The getBookmarks method is defined as follows:
getBookmarks(): Promise<models.IReportBookmark[]>
To apply a previously saved bookmark to a report by using its bookmark name, call the apply method of the BookmarksManager object returned by a report's bookmarksManager property.
For more information, see Configure report settings.
The apply method is defined as follows:
Javascript:
apply(bookmarkName: string): Promise<void>
For example:
Javascript:
await report.bookmarksManager.apply("Bookmark1234");
WIsh it is helpful for you!
Best Regards
Lucien
Hi @spencerdeane ,
According to the official article description:
In an embedded report, developers can:
And to get the list of saved bookmarks associated with a report, call the getBookmarks method of the BookmarksManager object returned by the report's bookmarksManager property.
The getBookmarks method is defined as follows:
getBookmarks(): Promise<models.IReportBookmark[]>
To apply a previously saved bookmark to a report by using its bookmark name, call the apply method of the BookmarksManager object returned by a report's bookmarksManager property.
For more information, see Configure report settings.
The apply method is defined as follows:
Javascript:
apply(bookmarkName: string): Promise<void>
For example:
Javascript:
await report.bookmarksManager.apply("Bookmark1234");
WIsh it is helpful for you!
Best Regards
Lucien
Hi. If you are talking about Publish to Web then no. It will open the report as it was saved. You can change that in URL or parameter.
If you are talking about real deal embed you can. You can check the features for this in the playground: https://playground.powerbi.com/explore-features
I hope that helps,
Happy to help!