cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
toresenneseth
Frequent Visitor

Testing export to PDF/PowerPoint

Hi all,

 

Do you know if there's a way to test the export to PDF/PowerPoint feature without already being certified?

What I want to do is add a watermark to my visual if there is no have a valid license key when doing the export. I noticed the

powerbi.common.CustomVisualHostEnv.ExportReportHost enum, so I assume this should work, but as far as I know, there's no way to actually test that it works until after a the visual has been certified? 
 
-Thanks!
2 REPLIES 2
toresenneseth
Frequent Visitor

Hi,

 

Yes, but it does not seem like the host environment is set to "ExportReportHost" in Power BI Desktop during export, so I'm not able to test if it works in web / service.

The best thing would be if there was some kind of API to get notified when the user performs an export so I could apply a watermark, but as far as I know, there's no such API or event being raised by Power BI?

lbendlin
Super User III
Super User III

You can export from PBIX to PDF on Power BI Desktop? No service required.

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors