Form View Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2023 03:37 AM
Hi Developers,
I have developed some application Where I am having some Form View configuration Problems. Solution may be simple, but i am unable to crack it!
There are 2 tables Table 1 , Table 2
Table1 has- Table 2 configured (as Related list)
When I open Table 2 related list from Table1 form, Table2 FORM View is different
When I open Table 2 FORM View from Table2 itself, FORM View is different.
Difference here : The mandatory fields from both form views are not matching
(I have configured some mandatory fields on Table 2 ).
I believe the form needs a specific view and use the same view name for the related lists. So that they display correctly for that form. They may be falling back to the default view because they don't match views with the form.
How to confiure this?
All leads are much appreciated (please do not refer related documentation links)!
BR
SnowDeveloper

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2023 06:01 AM
By default, a related list will inherit the view that is used by the parent form on which the related list is shown. So if you create a custom view for Table 1, then the related list will try to use the same view if it exists. Likewise, when you click any record in any list to open the record in a form, it will try to use the same view that was used for the list. You can use View Rules to override the default behavior and force a specific view. The link below will take you to the docs site that covers View Management:
https://docs.servicenow.com/bundle/utah-platform-user-interface/page/administer/navigation-and-ui/co...