
Delete a Record Use the sObject Rows resource to delete records. Specify the record ID and use the DELETE method of the resource to delete a record.
Full Answer
What is a dirty tree in Mobile Sync?
Local record trees that contain any dirty records—locally created, modified, or deleted records—are left unaltered. For example, if a parent record has one dirty child, Mobile Sync doesn’t update the parent or the child. This rule applies even if the parent is clean locally but has been changed on the server.
How does Mobile Sync work?
Mobile Sync fetches the record trees, each consisting of one parent and its children, using SOQL. It then separates parents from their children and stores them in their respective soups.
Can you add related record sync to your code?
Once you understand the principles and requirements involved, implementing it is straightforward. You can add related record sync to your code in a few steps. The following code snippets demonstrate the technique using Account (parent) and Contact (child) objects.
