Jun 02, 2014, 1:38 PM
[CLOSED] Validate duplicate record with Auto sync on store.
Hi,
In ext V2.5, need to prevent duplicate record insertion on store when inserting new record with same existing data. By Using store.sync() method we are inserting/updating/deleting the records from database. A scenario like the store contains ID,Name,Value properties, here ID, Name fields are unique. When inserting same Name into database, checking in the query and returning without record insert, in this case getting message like "Key value is not defined for inserted record".
How to handle this exception?
Thank you.
In ext V2.5, need to prevent duplicate record insertion on store when inserting new record with same existing data. By Using store.sync() method we are inserting/updating/deleting the records from database. A scenario like the store contains ID,Name,Value properties, here ID, Name fields are unique. When inserting same Name into database, checking in the query and returning without record insert, in this case getting message like "Key value is not defined for inserted record".
How to handle this exception?
Thank you.
Last edited by Daniil; Jun 10, 2014 at 5:16 AM.
Reason: [CLOSED]