function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bethann GonzalezBethann Gonzalez 

Is there a way to create a duplicate warning for a custom object?

Is there a way to create a duplicate warninig for a custom object?

sushant sussushant sus
u can write trigger if u talking about duplicate data in custom object
refer link



In order to prevent duplicate entry in object just check the Unique and Required checkbox on the field's definition in that object based on which you wanted to make duplicate check. After this if you make a duplicate entry it will give warning.


If this post solves your problem kindly mark it as solution. if this post is helpful please throw Kudos.