how to override a ui policy defined in parent table in the child table

sohan_snow
Tera Contributor

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

2 REPLIES 2

sachin_namjoshi
Kilo Patron
Kilo Patron

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


rzj
Giga Contributor

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