Questions tagged [smartsync]

The SmartSync library makes it easy for customers to synchronize Salesforce data on their mobile apps with Salesforce servers.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

Required Smart Sync Latest Version

I am using the below smartsync version in my native android project com.salesforce.mobilesdk:SmartSync:5.0.0 I need to upgrade this to the latest version, let me know what is the latest version of the ...
Dinagar N's user avatar
0 votes
1 answer
340 views

Not able to logout and login without closing app and use SmartStore and MobileSync again

As you know in CCEP we are adapting the SDK more and more to our internal applications so we decided to use MobileSync and SmartStore to handle all the sync mechanism. So far so good, but we are ...
Adrian's user avatar
  • 1
0 votes
2 answers
103 views

Mobile SDK SmartSync SFParentChildrenSyncUpTarget INVALID_FIELD_FOR_INSERT_UPDATE fields = OpportunityId

Using Salesforce Mobile SDK 7.2 for iOS with Swift 5. Attempting to syncUp an Opportunity Line Item that has been updated on the device results in the error: errorCode = "...
aspjim's user avatar
  • 33
0 votes
1 answer
445 views

React Native SDK - SmartSync - REST API calls

We're currently retrieving a list of Salesforce apps from the UI API using this function: net.sendRequest('/services/data', `${net.getApiVersion()}/ui-api/apps`, (e) => { setApps(...
Michael Smith's user avatar
4 votes
1 answer
267 views

ios - can't insert a new record to remote using smartsync sync up

I'm developing in native iOS. I use SmartSync to sync up local soup to salesforce server. It works fine when updating to remote, when the record to be updated exists in remote. But it doesn't work ...
Steve's user avatar
  • 41
0 votes
1 answer
251 views

Sync down/up multiple soups in one go using SmartSync

Suppose i want to pull down Account and Contact records. It seems (after reading the documentation and samples) that i have to create separate soup specs (e.g. in userstore.json) and the for each of ...
zaitsman's user avatar
  • 1,920
1 vote
0 answers
331 views

How to join two soups in react native mobile sdk app

I'm developing a React Native app using Mobile SDK and I'm having trouble joining two soups together with SmartSync. I have already registered them with success, but I can not figure out how to join ...
Alice's user avatar
  • 11
0 votes
1 answer
186 views

Delete a record from soup and salesforce Database

Im creating a Native android application which uses salesforce integration, Ive created a custom object on Salesforce and im able perform offline sync by using smartSync, the problem is im deleting a ...
Dinesh Thiyagarajan's user avatar
0 votes
1 answer
129 views

Using the Sync Manager and Syncing Soups to Salesforce Database

This is my code to Push data to Salesforce Database, List<String> fields = new ArrayList<>(); fields.add("name"); fields.add("note"); fields.add("subject"); fields....
Dinesh Thiyagarajan's user avatar
1 vote
1 answer
114 views

SmartSync In Native Android Application

Im trying to Implement Offline Synchronization by using SmartSync.The libraries have already been Referenced , and Im getting access to SmartStoreSDKManager. But inside the SmartSync Package im only ...
Dinesh Thiyagarajan's user avatar
1 vote
0 answers
299 views

To use the smartsync to store the data in local soup android native SDK

Below is my code for creating the soup on locally and sync down and store the data in local soup. Below is my code calling onCreate method. Salesforce data is not syncdown. Can anyone help me for ...
mobility's user avatar
1 vote
1 answer
492 views

React native mobileSDK smartsync sync up 'succeeds' without actually changing anything

I am trying to sync data created in a mobile app (currently iOS, but I've had exactly the same problems with smartsync on Android before). I have a local soup registered that includes a field with ...
SoZettaSho's user avatar
1 vote
1 answer
639 views

Updating an existing Object fails with error INVALID_FIELD_FOR_INSERT_UPDATE

This is the exact error : from smartSync SFLogger ERROR com.salesforce : Sync type:syncUp id:6 FAILED cause:Server call for sync up failed error:Error Domain=CSFNetworkErrorDomain Code=400 "Unable ...
Sachin's user avatar
  • 11
3 votes
1 answer
635 views

Smartstore/Smartsync - Create related objects

I'm having some trouble working out the logistics behind creating two records on separate objects that have a lookup relationship. Lets say we're offline and want to create an Account, and then add a ...
frontendloader's user avatar