Forum Discussion
Cannot read property 'MobilePortrait' of undefined
- 8 years ago
I first built my site to host my embedded dashboards in September of 2017. When I built the page that hosts the embedded reports themselves I cloned the PowerBi report library from GitHub and placed it the sites static file directory. To fix my problem, I cloned the most recent version of the Power Bi library and replaced the existing static files. I reloaded my static files and refreshed my server and everything works now.
I'm getting the same error
Edit: I was able to fix my error by updating the Power Bi static files in my repo
Hey Adam,
Can you illustrate what steps you took to do this? I am very interested and im sure others are as well!
Thank you! Glad you got it to work on your side!
- adamwallace38 years agoAdvocate II
I first built my site to host my embedded dashboards in September of 2017. When I built the page that hosts the embedded reports themselves I cloned the PowerBi report library from GitHub and placed it the sites static file directory. To fix my problem, I cloned the most recent version of the Power Bi library and replaced the existing static files. I reloaded my static files and refreshed my server and everything works now.
- Anonymous8 years agoNot applicable
Pro tip: when replacing the powerbi.js file be sure to wipe your cache.