Pega Constellation Landing Pages - Create a new Instance Data Table

we have one requirement, where end user need to create instance to data table, currently we are providing option from Landing pages or insight. is there any way to validate/check is same info already present in the table or not while creating new instance?

@VenkateswararaoK if you have embedded data then you will be able to use validation on pre/post processing, here are details: https://community.pega.com/conversations/user-experience/pre-%26amp%3B-post-processing-for-embedded-data - you need to be on Pega 25

If you want to do it on landing page the you need to handle validation in Data Page and return error from Data Page. Custom errors on API are handled since PEga 24.2 if I am not mistaken

@VenkateswararaoK you could use keys on the data instance to check for duplicates, but that doesn’t really have any business rules or nuance like the Case Management duplicate check does.

You could look at the saveable datapage and the save plan you have in place for creating new instance? You could probably tie in some duplicate checking there. Though I have not personally done this. You may have trouble surfacing up the appropriate error message, '25 has some improvements to surfacing up errors in the DX API’s backing Constellation but prior to this the message was usually generic and might not be user friendly.

The other option, you could create a case to create the instance, this would give you far more control, and a process, and validation and ability to provide guidance/instructions.