Hi, I have built a sample .MXML application for testing Flex Data Management. In client iam using DataService to connect to the destination like, <mx:DataService id="ds" destination="crm.employee"/>
Iam able to view all the records using ds.fill(). Iam able to add a new employee record using addItem() of the ArrayCollection and by calling ds.commit() I could see data synchronization happening in multiple clients. Now, the problem is iam not able to modify or delete any record. Iam getting an error "Throwing DataSyncException when trying to update employee id=4" "Throwing DataSyncException when trying to delete employee id=4" The code looks like this: var emp:Employee=contacts.getItemAt(4) as Employee; ds.autoCommit=false; emp.firstName="Dharmendran"; emp.lastName="Arumugam"; ds.commit(); Pls help me. Thanks, Darmendran A ____________________________________________________________________________________ Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545469