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.
Following the example in the Power BI playground, I'm using the code below to override SaveAs event:
report.off("saveAsTriggered");
report.on("saveAsTriggered", function (event) {
report.off("saveAsTriggered");
console.log(event.detail);
});
But for some reason, it doesn' work. The default SaveAs still gets triggered. Can anybody help me?
what's missing from the documentation is the part where you have to set `useCustomSaveAsDialog` to true in the settings
This still appears to be an issue (at least for me!)