forcedotcom / SalesforceMobileSDK-Templates

BSD 3-Clause "New" or "Revised" License
52 stars 56 forks source link

How to implement a sync up for a custom object ? #317

Closed NadjibSb closed 3 years ago

NadjibSb commented 3 years ago

is there any samples showing how to implement custom sync up target ?

wmathurin commented 3 years ago

Please check the documentation for custom sync down target and custom sync up target.

NadjibSb commented 3 years ago

@wmathurin Thank you but we did read the doc (many times) but it's outdated. We are using v.9.1.0 What we are actually doing, we are retrieving custom objects (we used one target class for many custom objects) using sync down, following this sample . And now we are looking to do the same for sync up .

wmathurin commented 3 years ago

We will review the documentation. In the meantime, you can look at existing subclasses of SyncUpTarget for example of more complex sync up target class implementations.