The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All and a very happy new year!😀
I am using a PBI User Owns Data web app with the PBI JS SDK.
I was trying to enable bookmarks in my embeded report using this code from the PBI JS Playground:
// The new settings that you want to apply to the report.
const newSettings = {
bookmarksPaneEnabled: true
};
// Get a reference to the embedded report HTML element
var embedContainer = $('#embedContainer')[0];
// Get a reference to the embedded report.
report = powerbi.get(embedContainer);
// Update the settings by passing in the new settings you have configured.
report.updateSettings(newSettings)
.catch(function (error) {
Log.log(errors);
});
I am having 2 issues:
1. In PBI desktop i can create and see a personal bookmark but in my embed report i dont see my "personal bookmarks", i can only see "report bookmarks".
(I use a User Own Data app and log in with the same user on my PBI Descktop and PBI Embed).
2. In PBI desktop i have an option to add a new personal bookmark with the "add" button, yet when i open the bookmarks panel on my embed report the "add" options is greayed out and i can't click on it (again - using the same user in both platforms)
can anybody help?
Thanks!
anybody?