cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Restrict only two records on Custom MDF Portlet

Raviraj9
Newcomer
0 Likes
708

Hello All,

I have a custom MDF portlet similar to bank information and its working fine, but I am able to add one primary and multiple Secondary records.

I want to enforce only two records at max, so there should be only one Primary and one secondary through any business rule or any alternative.

Any help with the requirement would be appreciated.

Thank you.

Raviraj

Accepted Solutions (0)

Answers (1)

Answers (1)

surglc
Explorer
0 Likes

Hello @joe198983 ,

This might work.

You can add a new field with auto number as data type in the object lets say the label record counter. The expectation is that this field will get a number assigned to it for each bank record. Then you need to configure a business rule to raise an error message if the record counter is more than 2. 

Hope this helps.

Regards,

Surya