Forum Discussion
updateSettings does not update syncSlicers.visible in View mode for Power BI Embedded reports
- 1 month ago
Hi WellsFang
This is consistent with how the Sync slicers pane behaves in the embed client SDK. Unlike filters or page Navigation(viewer-facing), sync slicers is an edit-mode authoring pane, so setting syncslicers.visible = false after returning to View mode has no effect — hence it stays "stuck."
Recommended workaround: Hide it while still in Edit mode, before switching to View:----------------------------------------------------------
await report.updateSettings({
panes: { syncSlicers: { visible: false } }
});
await report.switchMode("view");----------------------------------------------------------
Awaiting update settings before switch mode ensures the pane is hidden before the transition.
Alternatively, re-apply your full panes config as part of the mode-switch handler.
Thank you,
Srikanth Cheri
CST Team
Yes, this is expected behavior.
The Sync Slicers pane is an editing feature, and its visibility is only maintained while the report is in Edit mode.
Once the report goes back to View mode, report.updateSettings( ) does not control the prominence of the Sync Slicers pane.I hope this will clarify the situation.
If this helps, ✓ Mark as Kudos | Help Others