22 views

Symptoms


When viewing a Service within the Service Mapping application, switching between form views does not work. The form appears to reload but you are still redirected to the same view.

Release


All

Cause


The Service Mapping application uses the GET parameter "sysparm_userpref.cmdb_ci_service_discovered=<view_name>" in the URL it redirects to when switching between the different views of a form.

https://<instance-name>.service-now.com/incident.do?sys_id=85071a1347c12200e0ef563dbb9a71c1&sysparm_userpref.cmdb_ci_services_discovered.view=questionnaire

What this does is it changes your user preference "cmdb_ci_service_discovered" to the view name specified. Then, the system will open the form and look to the user preference that's just been stored to determine which view the form should be in. However, the GET parameter is being ignored.

 

This is due to the system property "glide.ui.remember_view" being set to false. This property controls the default behavior of being redirected to the view stored in the user preference for your profile when visiting a List or Form that you've been on before. With the property set to false, the expected behavior is for the system to redirect users to the default view defined for a form rather then the one stored in the user preference.

Resolution


Change the system property 'glide.ui.remember_view' to true.

Article Information

Last Updated:2018-08-03 00:26:50
Published:2018-07-20