Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Matthias_Tri001
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.