cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Power BI Desktop: "Export to PDF" ist not wating for IVisualEventService.renderingFinished()

Hi,

I'm developing a custom visual that takes a few seconds for asynchronous rendering, so I'm calling the
IVisualEventService methods (see https://docs.microsoft.com/de-de/power-bi/developer/visuals/event-service)

- renderingStarted(options: VisualUpdateOptions) > synchronously in the update method)
- renderingFinished(options: VisualUpdateOptions) > at the end of the asynchronous rendering method
- renderingFailed(options: VisualUpdateOptions) > at the end of the asynchronous error handler callback

However, Power BI Desktop is not wating for the call
to renderingFinished() when it loops over the report's pages on "Export to PDF",
therefore the screenshot of my visual in the PDF document is incomplete. My custom visual is not yet certified.

My questions: Is this the known (and desired) behaviour of Power BI Desktop for uncertified custom visual?
Does Power BI Desktop waits for renderingFinished() on "Export to PDF" for certified visuals?
Or am I doing something wrong?

 

Best regards,
Matthias

0 REPLIES 0

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors