cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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

1 REPLY 1
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

Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.