Forum Discussion

dcruise's avatar
dcruise
Frequent Visitor
8 years ago
Solved

Cannot read property 'MobilePortrait' of undefined

Im trying to embed a report for mobile and using the new property  settings: { layoutType: models.LayoutType.MobilePortrait } found here: https://github.com/Microsoft/PowerBI-Ja...
  • adamwallace3's avatar
    adamwallace3
    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.