View management
Summarize
Summary of View management
View management in ServiceNow controls which elements appear when users open forms or lists. Views define subsets of fields from the underlying table, allowing tailored presentations of data. Users can switch between different views to see relevant information depending on their needs.
Show less
Administrators and users with the personalize role can create, modify, and delete views and view rules, while users with the admin or viewchanger roles can switch views.
Key Features
- Predefined Views: The system includes base views such as Default and Advanced, which should not be deleted.
- Switching Views: Users can switch list views via the list context menu and form views via the form header menu. Switching submits and saves the form.
- User Preferences: The last selected view is saved per user, overriding URL parameters unless the
sysparmviewforcedparameter is set to true. - Create and Delete Views: Administrators can create or delete views from either list or form interfaces.
- View Rules: Administrators can create rules to control which views display based on conditions or user roles, overriding user preferences if needed.
- Navigation Handler: A scripted view rule that runs when form view data is requested, enabling advanced control over view selection.
Practical Implications for ServiceNow Customers
This functionality enables you to customize how users interact with forms and lists, enhancing usability and efficiency by showing only relevant fields and layouts. You can enforce standardized views for certain users or conditions, ensuring consistent data presentation and improving workflow compliance.
View management also supports personalization, allowing users to save their preferred views for repeated use, while administrators retain control to enforce organizational policies.
A view defines the elements that appear when a user opens a form or a list, and you can switch the view from the default for lists and forms.
When the system displays a form or list it usually displays only a subset of the fields belonging to the underlying table. For example, this is the Incident form in the Self-Service View:
This is the Incident form in the Metrics View:
- create views for any list and form
- determine which view is visible by default
- delete views they have created
- create and modify view rules determining which views are available depending on the values of the fields of the underlying table
- create rules that determine which views pertain to specific user roles
Users with the admin or view_changer roles can change views.
Views included with the base system
Several views are included with the base system, including the Default view and Advanced view.
Switching views
To switch between list views, click the list context menu at the top left corner of the list, and then select .
To switch between the list view in list v3, click the context menu, then select .
To switch between form views, click the context menu at the left side of the form header, and then select :
Switching views submits the form, which saves all changes and triggers any onSubmit client scripts that apply. You cannot switch form views on a new form that has not been saved yet.
When a user switches views, the selected view is saved as a user preference so the user sees the same view by default when the form opens. When a user has a view saved as a user preference and then opens a URL to a record that specifies another view, the form displays in the view saved in the user preference, not the URL. For example, if a user selects the Mobile view on an Incident record and then tries to open the following link, which specifies the visual task board view, the form still opens in the Mobile view: https://{instance}/nav_to.do?uri=incident.do?sys_id={sys_ID}sysparm_view=vtb
The sysparm_view parameter specifies the view to be used for a list or a form, and can be overwritten by a user’s stored preference for a view. You can override this behavior by setting the sysparm_view_forced parameter to true.