How to make related list as mandatory

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2021 08:36 AM
Hoe can I make a related list mandatory ?
I tried ui policy but cannot find the option to do so .
- Labels:
-
Problem Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2021 08:41 AM
You have to write a BR to check the records on related list table and according to your condition abort the update operation.
or
you can create a onsubmit client script with glideajax (xmlwait) to check the record in relatedlist table.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2021 09:03 AM
You shall find your answer from the following posts:
How to make related list mandatory?
Mandatory related list
How to make Related list tab mandatory when resolving a ticket?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2021 10:03 AM
Hi ,
My condition is where in if there are no records auto populated in related list then it is mandatory to fill the related list .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2021 11:01 AM