Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I'm trying to embed Power BI reports in our ios application. Javascript & .net api works good with the online environment, I was able to create some custome objects like reports navigation and filter pannel (somethink like power bi ios app do). But when I am tring to embed the PBIRS report with javascript api, nothing happens. It is not working. I have tried with rs:embed=true parameter and with direct api link http://localhost:13526/powerbi/?id=0db851ec-b67b-4fe7-ad99-12424e4a2949.
var config = {
type: 'report',
accessToken: '-',
//embedUrl:'http://localhost:13526/powerbi/?id=0db851ec-b67b-4fe7-ad99-12424e4a2949',
embedUrl:'http://localhost:13526/reports/powerbi/Dashboard?rs:embed=true',
id: '0db851ec-b67b-4fe7-ad99-12424e4a2949',
settings: {
filterPaneEnabled: false,
navContentPaneEnabled: false,
layoutType: models.LayoutType.MobilePortrait
},
pageName: 'ReportSection4b3fbaa7dd7908d906d9'
};
var reportContainer = document.getElementById('reportContainer');
var report = powerbi.embed(reportContainer, config);
Navigating the PBIRS reports with Power BI application seems that there is a way to communicate with report via javascript api (some objects are hidden, page navigation is not standard ecc), but I can't figure out how it works.
Analyzing the traffic, it seems that the application tries to access to this report server page:
http://localhost:13526/powerbi/mobile/index.html?disableClientTelemetry=true&explore=1&clientType=winApp&hostType=ioswk&isMobileReportsEnabled=1&isOnReportServer=1
(I think there is used ios web kit framework)
Does anyone know how and if it is possible to embed PBIRS reports in external web application?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
2 | |
2 | |
1 | |
1 |