Forum Discussion
nagarjunb
9 years agoFrequent Visitor
Hiding Navigation Pane in iframe
Hi, We are able to integrate power BI report using angular 2. But we are seeing a navigation area as highlighted in the below screenshot. This is allowing to navigating to other tiles in the re...
nagarjunb
9 years agoFrequent Visitor
Hi Ted,
Thanks for the response.
We are using the below URL, and passing the report ID dynamically to get the report.
And we are using the code below with dynamic parameters. And we are using the Angular Power BI modules to embed the reports.
var config = {
type: 'report',
accessToken: this.pbiToken,
id: this.ReportID,
pageName: this.PageName,
settings: {
filterPaneEnabled: false,
navContentPaneEnabled: false
}
};
var reportContainer = (<any>$('#' + this.TileID + '_' + this.ReportID)[0]); //dynamic ID
// Embed the report and display it within the div container.
let powerbi = new pbi.service.Service(pbi.factories.hpmFactory, pbi.factories.wpmpFactory, pbi.factories.routerFactory);
let report = <pbi.Report>powerbi.embed(reportContainer, config);
Thanks,
Nagarjun B
TedPattison
9 years agoMicrosoft Employee
The weird thing is you have an extra navigation element that I don't ever see when I am embedding Power BI Reports. You have the navContentPaneEnabled property set to false and that is hiding the standard gray tabbed page navigation at the bottom of a Power BI report. However, you are seeing the other type of page navigation with forward and back arrows and no page names. I have only seen that navigation element before when I have used the Publish to Web feature. I will try to do a little testing on this over the weekend to see if I can recreate the problem.
- nagarjunb9 years agoFrequent Visitor
Hi Ted,
We are still seeing this issue. Did you get a chance to reproduce the issue. Any help is greatly appreciated. Thank you.
Thanks,
Nagarjun B