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
Jimmyp
Frequent Visitor

Power bi visual api, refreshHostData not working after packaging

Hi all,

 

Im trying to use the IVisualHost function refreshHostData.

 

In development it's working fine and dose as expected and updates my data.

 

But when i packege the visual nothing happens when refreshHostData is called.

 

Dose anyone know if there is something blocking the function from execution, if it's a bug or if there is some other way to refresh the data without refreshing the page?

 

Thanks in advands for the answers.

 

Jimmy

 

 

1 ACCEPTED SOLUTION
Jimmyp
Frequent Visitor

I worte to the support team and the reason that it's not working is that it's restricted API and the visual needs to be uploaded to the AppSourse for it to worke.

View solution in original post

2 REPLIES 2
erz1234
New Member

Have you uploaded the visual to AppSource and if so, does now API call works? We have published our visual to AppSource around 2 weeks ago, and API still isn't working..

Jimmyp
Frequent Visitor

I worte to the support team and the reason that it's not working is that it's restricted API and the visual needs to be uploaded to the AppSourse for it to worke.

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.