How to make a field mandatory which is extended from other table?

devina
Kilo Contributor

Hi All,

I am not able to make a field mandatory through UI Policy as the field is an extention of a field in another table. While using client script we are not able to make it mandatory using "setMandatory" function.

Is this possible by througing errors to stop the page? If yes can anybody tell me how to do so.

If not is there any other way possible?

Please help me with this.

Thanks And Regards

Devina Khare

18 REPLIES 18

Dubz
Mega Sage

Hi Devina,

 

You can do this using a UI policy, all the fields on the form will be available for you to set as mandatory if you want.

devina
Kilo Contributor

We tried using UI Policy but its not working as the field is extended from some another table.

Hi Devina,

 

If the field is extended from another table you should be able to dot-walk to it, in the UI policy action you should be able to navigate to the extended table via the tree picker in the field name element.

 

If it's not available then you can create the UI policy on the table where the field is extended from and tick the 'inherit' box, this will cause all extended tables using that field to inherit the policy, you would probably then need to define some conditions to ensure it only applies on the table you want it to.

 

If you go down the dictionary override route, you need to right click on the field and select Configure Dictionary. In the advanced view you will see a tab called dictionary overrides. Create a new one, set the table to the one on which you want your field to be mandatory and then tick 'override mandatory' and then tick 'mandatory' when it appears.

 

find_real_file.png

sri-nidhi
Kilo Contributor

Did you try dictionary override?