Forum Discussion

WellsFang's avatar
WellsFang
New Member
1 month ago
Solved

updateSettings does not update syncSlicers.visible in View mode for Power BI Embedded reports

Hi Power BI Team, We are experiencing an issue with Power BI Embedded where `updateSettings` does not update `panes.syncSlicers.visible` when the report is in View mode. Our scenario is: 1. The re...
  • v-csrikanth's avatar
    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