Static entities Records
Application Type
Traditional Web

Hi, this is Satish,

let me know how to create validation for the static entity records .in my case Room has amenities like Television, internet, etc. if I select one of the records for the particular room next time I select the same record it will show an error.

thanks 

Satish.

Hi Satish,
you can create a local list where you keep storing all the selected static records while you add, after this as soon as the user selects the same record you can check that local list with filter if selected records exists.
If it exists show an error else no error to be shown as per your logic.

Regards,

Saksham Srivastava

Hello @TELUGU SATEESH 

You need to check a condition where your selected Id and the Id that is In your entity 

You have to compare them in your If widget .

I have created a Oml for you , please check and let me know if it helps


Thanks 

Tousif


Sample__Static Entiy.oml

Hi Satish,
you can create a local list where you keep storing all the selected static records while you add, after this as soon as the user selects the same record you can check that local list with filter if selected records exists.
If it exists show an error else no error to be shown as per your logic.

Regards,

Saksham Srivastava

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.