Skip to main content

How to find and restore faulty page layout in OneWeb

  • June 3, 2025
  • 1 reply
  • 8 views

Albert de Ruiter
Rocket Pioneer L1
Forum|alt.badge.img+4

Hi Community,

Don't know if you ever have made changes to the page layout in OneWeb, but sometimes it can be an uncomfortable task: while often there is a preview option, for ‘create’ and ‘edit’ pages this is not the case. So after having made the changes and pressing Ctrl-s to save them, if you made a mistake it can turn out your screen will go white, without option to make a correction afterwards (yes, speaking from experience). 

Lately we had a bit of an awkward situation, that the System Changes screen in the Global Settings area was no longer accessible, showing an error message about a screen layout error. But we never applied any layout changes to the System Changes screen, so we were rather puzzled. I consulted Ataccama Support about this and I would like to share their solution.

First conclusion by Support was that this was caused by an erroneous page layout from another page. Indeed we had done quite some development and experimenting (dev environment), so finally we figured out that for a certain node the ‘create’ page was no longer accessible. So how to restore? 

Support provide the following query, which will return details of the page layouts.

query customlayouts {

  appLayouts(versionSelector:{draftVersion:true}) {

    edges {

      node {

        gid

        draftVersion {

          descriptor

          layout

        }

      }

    }

  }

}

In the output you can locate the applicable erroneous layout, of which you can copy the gid, that is needed for the following query that will restore the payout and make the page accessible again.

mutation restoredefault{

    appLayoutDeleteAndPublish(gid: "put gid here"){

        success

    }

}

That's all!

Kind regards,

Albert

Cansu
Forum|alt.badge.img+3
  • Intergalactic Expert
  • July 8, 2025

Thank you for sharing ​@Albert de Ruiter as always!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings