Here is "Switch to List View".  It's a "Form context menu" UI Action that simply switches to the list view for the table, and filters the list to only display the current record:

 

 

 

It's useful, for instance, when you need to see or modify a field that is not, for whatever reason, displayed on the form view.  You can personalize your list view, add the appropriate fields and update the record if you need to.

 

UI Action details:

Name: Switch to List View

Table: Global [global]

Order: 200,000

Active: checked

Show insert: checked

Show update: checked

Client: checked

Form context menu: checked

Hint: Switches to the List View for the table, returning this one record

Onclick: u_switchToListView()

Condition: gs.hasRole("admin")

Script:

function u_switchToListView(){
    try{
        window.location = "/" + g_form.getTableName() + "_list.do?sysparm_query=sys_id%3d" + g_form.getUniqueValue();
    } catch(err){}
}

 

 

I've attached the XML export of my UI Action record if you want to just import that.  Try it out in a personal dev instance first.

 

Related Posts:

"Show Contents of g_scratchpad" Tool

"Try It (Portal)" Tool

"Developer Toolbox" Tool

"Preview GlideRecord Script" Tool

"Preview in Background Script" Tool

"Xplore GlideRecord Script" Tool

"View Data to Preserve" Tool

"Create Module From Query" Tool

"Clear User Settings" Tool

"Grab Grouped Information" Tool

Showing a Schema Map From a List View