This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
Hi,
After searching in the forum, I did not find a clear answer to my case.
I am trying to embed PowerBI on Mobile devices. For simplification, I am using PowerBI-Developer-Samples . after updating the appsettings.json , and verifying everything work well on the web, I added layoutType into index.js .
reportLoadConfig = {
type: "report",
tokenType: models.TokenType.Embed,
accessToken: embedData.EmbedToken.Token,
// You can embed different reports as per your need
embedUrl: embedData.EmbedReport[0].EmbedUrl,
//pageName: "ReportSection",
// Enable this setting to remove gray shoulders from embedded report
settings: {
layoutType: models.LayoutType.MobilePortrait
}
};
When running the solution, PBI iframe rendering never ends, and I receive an error:
Note:
Any ideas?
Thanks,
Kfir
HI @kfir,
Where did this issue appear? The web browser of PC client or mobile devices?
Perhaps you can try to refer to the following link to use the numeric parameter of layout type to confirm it works on your side.
MobilePortrait layout type doesn't work when embedding a report
Regards,
Xiaoxin Sheng
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |