Hello, newbie (truly!) here. So far, using design tool in power Pages -I've been able to embed a powerBI report into my PowerPages site. This power pages site is embedded as 'Embed for your Customers' and has Role Level Security (RLS) also functioning.
The powerBI report also has a mobile visual set up. However, when accessing the powerbi embedded report from power pages, it renders the desktop version of the report.
The documentation for embedding PowerBI mobile Embedding a Power BI report with mobile layout in Power BI embedded analytics | Microsoft Learn cites a limitation :
After the report initial load, changing to report mobile layout is supported only if mobile layout (portrait/landscape) has been set into the initial embedding configuration object. Otherwise, you must first call powerbi.reset(HTMLElement) to remove the iframe. Then, you have to call powerbi.embed(...) using the same container with the mobile layout setting defined on the embedded configuration object.
Except I don't know what to do with this information now 😞 Can someone point me in the direction of how I might be able to adjust the configuration object so that I may set the layoutType as models.LayoutType.MobilePortrait.
Thank you!