The UI View 'Switch with Routing' containing spaces in the name causes related lists to not show any data


Description

The OOB UI View 'Switch with Routing' does not comply with the name standards. According to OOB standards a UI view Name can not have spaces in between words. Related lists on the 'Switch with Routing' view do not show any data.

 

Steps to Reproduce

 

  1. Go to /sys_ui_view_list.do?sysparm_query=name%3Dswitch%20with%20routing
    Note that the Name field is 'Switch with Routing'. UI view name values should not contain blank spaces or special characters.

  2. Go to /nav_to.do?uri=cmdb_ci_ip_switch.do?sys_id=<sys_id_of_sample_record>%26sysparm_view=Switch with Routing

  3. Note the related list view will not show records.

 

Workaround

View names should be unique and cannot use special characters or spaces, only the characters A-Z, a-z, 0-9 and _."
https://docs.servicenow.com/bundle/helsinki-servicenow-platform/page/administer/navigation-and-ui/task/t_CreateAView.html

As a workaround, change the view Name to 'Switch_with_Routing', with underscores between words to replace blanks. 

 

 

Related Problem: PRB1151762