Forum Discussion
Paginated report not embedding inside update panel ASP.net
Hi Anonymous,
Thanks for the update.
Regarding your question about hiding the filter and parameter panes the configuration you're using (panes.filters and panes.parameters) is mainly applicable to Power BI interactive reports, not Paginated Reports.
For Paginated Reports, the filter and parameter UI isn't controlled the same way. Instead, to hide the parameters panel, you can disable it when embedding using the supported option parameterPaneEnabled: false.
If you're still seeing the panel, make sure you're using the latest version of the Power BI JavaScript SDK and that the report is truly a paginated report.
If this helps, please mark it as “Accept as solution” and feel free to give a “Kudos” to help others in the community as well.
Thank you.
Hi,
Please suggest where to add in code level parameterPaneEnabled: false
Below code not working.
var models = window['powerbi-client'].models;
var embedConfig = {
type: 'report',
isPaginatedReport: true,
id: reportId,
embedUrl: embedUrl,
accessToken: embedToken,
tokenType: models.TokenType.Embed,
settings: {
panes: {
filters: { expanded: false, visible: false },
pageNavigation: { visible: true },
parameters: { expanded: false, visible: false }// Hides the parameter pane }
},
navContentPaneEnabled: true,
parameterPaneEnabled: false
}
};
var reportContainer = document.getElementById('powerBIReportContainer');
powerbi.reset(reportContainer);
var report = powerbi.embed(reportContainer, embedConfig);
- v-ssriganesh1 year ago
Community Support
Hi Anonymous,
Thanks for sharing the update.The option parameterPaneEnabled: false that you mentioned is applicable only for interactive Power BI reports, not for Paginated Reports.
Since you're embedding a Paginated Report, the parameter panel visibility is controlled differently. You’ll need to use the supported commands.parameterPanel configuration to hide or collapse the parameter pane. Settings like panes.parameters or parameterPaneEnabled won’t have any effect in this case.
Please make sure you’ve removed any unsupported pane settings and are using the latest version of the Power BI JavaScript SDK.
If your query has been answered, please “Accept as Solution” and Give “Kudos” so others with similar issues can easily find the resolution.
Thank you.