UI Builder - getting "Record not found" when linking Simple List to a Form view Page

Tom Sienkiewicz
Mega Sage

Hey, I've run into the following problem and not sure what is causing this:

1. I have a Home Page with a Simple List.

2. The List has an event (Reference record clicked) which has the Handler: Link to Destination

3. I'm passing the table and sys_id like so:

TomSienkiewicz_0-1685706056528.png

4. The target Page is basically the "Standard Record" template

5. What happens when I test and click the reference link:

TomSienkiewicz_1-1685706288508.png

6. What happens if I simply refresh that page with SAME URL:

TomSienkiewicz_2-1685706374839.png

 

works perfectly fine!

 

Thanks in advance for any suggestions. This is slowly driving me nuts, seems like the simplest of routings....

Cheers,

Tomasz

11 REPLIES 11

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hi Tom,

I don't see any tabs in your screenshot either. I would make sure all of your UX Page Properties are set up correctly like chrome_header and chrome_tabs. You'll probably need to reference one of the OOB workspaces or one created through app engine studio for that.

I can't tell you for sure that the issue is related to the page props, but I vaguely remember seeing this behavior a while back and that's what I think the answer was.

Hi Brad, yeah that could be it. Thanks for the hint. I'll review an OOTB workspace and see if I'm missing something obvious there. I'll report back once I've had some time to play around with this.

 

Any hints on why the event handler disappears after saving? Can that also be related to improper page settings?

Cheers,

Does anything else on the page save? I would refresh everything and clear some cache and make sure you're in the right scope. I've seen issues in the past where if you've got multiple tabs open with UIB in one and the classic environment in the other and change scope UIB doesn't always know that the scope has changed and will let you save but the db update doesn't process because you're in a different scope. 

Yeah it looks really strange to me (but I'm a total noob when it comes to UIB). I'm in my custom scope and the Experience, Page and variant are also created in that same scope.

I have a simple list component, I go in and add an event mapping like this:

uib1.png

 and then I save the page. Even without closing the page, when I switch to another component on same page and then back to this simple list, the routing disappears from the events list:

uib2.png

Maybe i'll try to delete cookies/browser history as well and will double check some general settings, if I don't get any results I will maybe raise a support Case for that.

forgot to add, yes I can modify other content like the header text in another component and that saves just fine.