Enable a reflow for your UI Builder pages

task brazil Updated Sep 10, 2026 1 min read enable-reflow-for-new-uib-pages.md
Raw file servicenow.com

Enable a reflow for your UI Builder pages. This way, when you’re resizing a window, you don't have to scroll horizontally.

Before you begin

Role required: admin

About this task

The reflow feature adjusts the properties of the components when you’re resizing a window. It accommodates smaller screen sizes and changes the component’s properties for the different screen sizes.

Procedure

  1. Navigate to All > UI Builder.

  2. Under Experiences, select Playbook Experience Portal.

  3. Open a specific page or variant: Either CSM Create Case Process or CSM Case Process, for which you want to adjust the reflow.

  4. Edit the Playbook Activity Viewer component settings.

  5. On the Styles tab in the UI Builder, set the height of the activity viewer to 100vh.

  6. Navigate to the component Resizeable Panes > Panes configuration and copy the code in the default displayed pane by editing the scripted property value.

    JavaScript
    // Resizable Panes default displayed pane scripted value​// when in left/right pane positionfunction evaluateProperty({api, helpers}) {    if(!api.data.playbook_custom_layout.compactMode) return "both";​  return (api.data.playbook_custom_layout.selectedItem || {}).stageContextId ? "right" : "left";}​// when in top/bottom pane positionfunction evaluateProperty({api, helpers}) {    if (!api.data.playbook_custom_layout.compactMode) return "both";
      return (api.data.playbook_custom_layout.selectedItem || {}).stageContextId ? "bottom" : "top";}
  7. Select Done.

    For more details, see Reflow for playbook components.

Search documentation
Search document titles and file paths on the brazil branch