how to override a ui policy defined in parent table in the child table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2018 07:20 AM
Hi All,
I have a ui policy on the task table which i need to override in a custom table that inherits from task table. The field - location on task table is set to Read Only which i need to make editable in the custom table.
Is there way that the ui policy on the task table can be over written only for a single child table.
Thanks in advance
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2018 07:31 AM
The only way I see it can be done is to remove "Inherit" checkbox from the UI Policy on the parent table and create a separate UI Policy for each child table where this UI Policy should apply.
OR
you could make a client script that will check the current table and based on that will make a field mandatory / non-mandatory.
Regards,
sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2018 07:38 AM
You can make a redundant field on child task table - "editable_location"
Make it less redundant by creating a business rule which on insert:
1) Copies data from "location" to "editable_location"
2) Deletes "location" data