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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Roman-Korovets
Frequent Visitor

File download API - exportVisualsContent method doesn't work in Power BI desktop

Hi there!

We have a custom visual with possibility of content export using File download API , method "exportVisualsContent".

 

this.host.downloadService.exportVisualsContent(fileContent, 'data.xlsx', 'base64', 'xlsx file')

This method works in web version but doesn't work in the latest version of Power Bi Desktop

RomanKorovets_2-1741101603023.png

Method just returns false and doesn't start file downloading.

 

Older version of Power Bi Desktop (2.137.952.0) works well.

 

@dm-p, could you help me with it? Or any idea? 

 

 

 

Regards

Roman

 

 
 

 


 


 

 

2 REPLIES 2
dm-p
Super User
Super User

Hi @Roman-Korovets,,

 

I wasn't aware of this, but it looks like a regression. I can replicate it, too. Thanks for making me aware. I'd suggest contacting the team - pbicvsupport@microsoft.com - to see if they can advise.

 

Regards,

 

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Yes, it makes sense.

I will contact the team via email.

Thank you so much!

Helpful resources

Announcements