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
0answers
7 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 = "...
0
votes
0answers
15 views

salesforce mobile sdk ios, how to create parent/child local/offline records?

I am working with the parent/child sync in version 7.2 of the SDK. I believe my syncs are defined correctly. I am able to pull parent/child records from the server. However, when I try and push ...
0
votes
1answer
49 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(...
4
votes
1answer
110 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 ...
0
votes
0answers
39 views

Mobile SDK - SyncUp of records with more than 25 childs

We have an Hybrid App using React Native and Salesforce mobile SDK, we are facing some issues when we need to do a SyncUp and one of the records that will be sync have more than 25 child records, like ...
0
votes
1answer
87 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 ...
1
vote
0answers
163 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 ...
0
votes
1answer
113 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 ...
0
votes
1answer
95 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....
1
vote
1answer
74 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 ...
1
vote
0answers
235 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 ...
1
vote
1answer
238 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 ...
0
votes
1answer
373 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 ...
3
votes
1answer
371 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 ...