UI Builder Page Corrupted--Please Help Me Recover It!

Velma
Tera Guru

My UI Builder page--the one I just put a LOT of work into, has something corrupted. As I was working this morning, I added a Container and it didn't show up in the component tree. Huh, I was sure I added a Container. Added it again, didn't show up (showed up on the right, I renamed it, but it still didn't show up on the tree). Tried to see if it was in the wrong place. And the tree disappeared. Under variant name (with a diamond icon) is nothing. The components are in the middle panel but nothing can be selected/modified. The config panel is stuck on Page Configuration. Data Resources are there. Client Scripts are there. Client State Parameters says I don't have any--but if I click Add they show up again. If I open the page up in run mode, everything is there and functions. PLEASE HELP ME recover my page. Is there some way I can access the components in the platform, copy into a new page? Troubleshooting tips somewhere? 

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hi Velma, your page is actually a record in the sys_ux_macroponent table and should have version tracking. You should be able to find the record for you page in that table, add the versions related list, and revert to a previous version.

View solution in original post

6 REPLIES 6

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hi Velma, your page is actually a record in the sys_ux_macroponent table and should have version tracking. You should be able to find the record for you page in that table, add the versions related list, and revert to a previous version.

Thanks @Brad Tilton ; faced the same issue as the OP & your suggestion for resolution worked perfectly - I was able to revert to a previous version of the page, & happily carried on with my day 🙂

San Diego patch 5

I have the same issue, but reverting it back to a previous version (even from a few updates ago) is not doing anything. When I load my page in the UI builder, it is blank. It does not load any components. The page looks fine when I open it outside the UI builder (just missing the most recent updates since I was not able to save them). When I look in the console, I see this error. Any suggestions?

NisargThakur_0-1666027419424.png

I was able to solve my issue after working with HI Support. They directed me to KB0967338. I was using an emoji in one of my 'Stylized Text' components. Removing that emoji loaded that page just fine.

 

The reason reverting my macroponent definition did not work for me was because my emoji was being added from a UX Client Script.