我正在尝试嵌入 Power BI 报告(用户拥有数据) 你能帮我如何在嵌入的power bi中隐藏分页报告的工具栏吗 ? 隐藏工具栏的设置是什么
var config = {
type: 'report',
tokenType: models.TokenType.Embed,
accessToken: accessToken,
embedUrl: embedUrl ,
id: embedReportId,
permissions: models.Permissions.All,
settings: {
bars: {
actionBar: {
visible: false
}
},
filterPaneEnabled: false,
navContentPaneEnabled: false
},
};
答案 0 :(得分:0)
分页报表不支持隐藏工具栏。仅支持参数窗格的启用/禁用和展开/折叠。
有关分页报告嵌入功能的更多详细信息,请参阅: https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/embed-paginated-report