Skip to Main Content
Remove the column name from control break Run ORDS as a systemd Service

Right Side Region Collapsed

APEX JavaScript
Code to collapse the Right Size Column Page Template by default.

Created a dynamic action : sidebar-collapse

Fires on : Page Load

Action : execute Javascript Code

Code:

if (document.getElementById("t_Button_rightControlButton") !== null) {
  var expanded = document.getElementById("t_Button_rightControlButton").getAttribute('aria-expanded');
  console.log(expanded);
  if (expanded == "true") {
    document.getElementById("t_Button_rightControlButton").click();
  } else {
    console.log(expanded);
  }
} else {
  console.log("No Sidebar on this page");
}