Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I'm using powerbi-client and ngx-power-bi npm for Angular app. When I use print() function of a report instance, it worked well on Chrome/Firefox.
But on the MS Edge(latest version - Version 90.0.818.46 (Official build) (64-bit)), it worked for the first time only. Means if I click to open an embedded report, a print popup will be opened as expected, but if I close or click to print, after the print popup is closed, I'm no longer can open the print popup again as nothing happened when I click to print the embedded report. Bellow is the code which I'm using.
import {NgxPowerBiService, powerBiServiceFactory} from 'ngx-powerbi';
import {models, Page, Report, VisualDescriptor} from 'powerbi-client';
printReport() {
const report = powerBiServiceFactory().get(this.getCurrentReportElement()) as Report;
if (!!report) {
report.print().then((res) => {
}).catch(response => {
AppNotify.warning(response.detailedMessage);
});
}
}
Will there be any response when you click print again after refreshing the web page?
User | Count |
---|---|
18 | |
5 | |
2 | |
1 | |
1 |
User | Count |
---|---|
24 | |
4 | |
2 | |
2 | |
1 |