Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [smartstore]

SmartStore is an encrypted NoSQL-style JSON document data store on both iOS and Android devices

Filter by
Sorted by
Tagged with
6 votes
1 answer
338 views

Join Queries in a Hybrid App (Salesforce SDK / Smartstore)

I'm trying to retrieve some data from the local database using SmartStore and join queries. Let's say I have the following query: SELECT * FROM {PricebookEntry}, {Product}, {Pricebook} WHERE {...
Boris Bachovski's user avatar
4 votes
1 answer
271 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
3 votes
1 answer
1k views

SmartStore SmartQuery mobile not working

I am working on a javascript hybrid App. I have a soup declared with along with the model collection: // The Collection Model app.models.SerieCollection = Force.SObjectCollection.extend({ model: ...
T. Rossi's user avatar
  • 747
3 votes
1 answer
637 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
3 votes
1 answer
88 views

error while using smartStore in salesforcemobilesdk-ios

I'm creating an ipad application which is integrated with salesforcemobilesdk-ios . for offline capability I'm using smartStore framework. while I'm creating the soup i'm passing SFSoupIndex's array. ...
Ramcharan Reddy's user avatar
3 votes
0 answers
46 views

How to create a Change Sets for multiple Soups to be able to rollback if sync fails

I want to have a distinct "success" value or a remote / local database rollback if sync of multiple soups using the the iOS Mobile SDK (SmartStore / SmartSync) fails. I'm able to identify my not ...
Tobonaut's user avatar
  • 183
3 votes
0 answers
274 views

smartsync offline query

I have a backbone collection model like this: // The TaskCollection Model app.models.TaskCollection = Force.SObjectCollection.extend({ model: app.models.Task, fieldlist: ["Id", "Subject", "Status", "...
Michele Festini's user avatar
2 votes
1 answer
102 views

smartsync offline-mode pagesize

I'm currently developing an hybrid app and I'm facing the following problem: On startup i need to load ALL the records from the cache (a soup). to do so I call fetch() on the Collection with the ...
Michele Festini's user avatar
2 votes
1 answer
303 views

I retrieve a JSONArray with JSONArrays in it instead of JSONObject using the Salesforce Mobile SDK

I'm using the SalesforceMobileSDK and I'm having trouble querying my smartstore soup in my native android application. When I query my soup I recieve a JSONArray with JSONArrays in it, while it has ...
Evi Favaits's user avatar
2 votes
1 answer
390 views

SDK SmartStore Soup Limit

For a proof of concept using Salesforce Mobile SDK, one major requirement is to be load 50k records from Salesforce and store locally offline. After understanding the SmartStore function and ...
Sarah McCandless's user avatar
2 votes
1 answer
75 views

How to create cascading objects while offline with SmartStorage and the mobile SDK

Do you have any ideas how to create cascading objects (e.g. create a new Soup A entry that contains an also new Soup B relationship entry) while in offline modus and using the SmartStorage of the ...
Tobonaut's user avatar
  • 183
2 votes
1 answer
354 views

How to delete a specific record from soups?

I want to delete a specific record from soups, can anyone help me to achive this. I tried with the destroy function but it removes the record from both soups and salesforce in online mode and in ...
kalimsayyad's user avatar
1 vote
1 answer
232 views

Is it possible to find a group of records in Smartstore (Mobile SDK)?

I'm trying to determine if an array of records exist in the Smartstore based on their Name. Ex. I have 'John', 'Bill', 'Frank' in the Smartstore and want to know if 'Bill' and 'Al' exist in one ...
Phil B's user avatar
  • 5,026
1 vote
1 answer
69 views

Smartsync with Sencha Touch

Can I use SmartSync framework with Sencha Touch? I am new to Sencha Touch framework. Please help! I am looking for some starter pack.
Pradeep's user avatar
  • 533
1 vote
0 answers
333 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
1 vote
0 answers
302 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
0 votes
1 answer
343 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
1 answer
301 views

Query data from SmartStore(Local) using Where Condition

Im storing Different types of Notes inside the SmartStore , currently im able to retrieve all the data from the smartnote table , but i need to use the Where condition to Retrieve a type of note. so i ...
Dinesh Thiyagarajan's user avatar
0 votes
1 answer
292 views

Retrieving more than 2000 records from net.query & net.querymore in ReactNative- Salesforce sdk

net.query limits 200 records at a time. Where large number of records are not retrieving and does not even display an error but outputting response.done = false and response.nextRecordsUrl has a url ...
Ruchiran Avishka's user avatar
0 votes
0 answers
116 views

Retrieving Data from Soup in SmartStore shows error of function not found

I am using SmartStore provided by Salesforce Mobile SDK. At the time of retrieving data from Soup, it is showing error in “buildAllQuerySpec” is not a function. Tried with all other functions like: ...
Satish K. Azad's user avatar
0 votes
0 answers
247 views

How to make REST API call in smartstore in React Native

I am working on integrating salesforce with react native for the first time. I have an offline feature for that I am using smartStore. Now I want make REST API calls in smartStore. After checking ...
ketan kulkarni's user avatar
0 votes
1 answer
194 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
132 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
0 votes
1 answer
136 views

Can I use FMDB libraries from SmartStore?

I have a project with SQLite. I am using FMDB with SQLite. I installed FMDB in the project with a pod. Now, I have to use Salesforce. I can install Salesforce SDK with pods. BUT, I can´t use FMDB ...
CesarRN's user avatar
  • 11
0 votes
1 answer
175 views

Hybrid Remote App with Offline storage

I am new to salesforce development and i want to deploy a hybrid remote application that can store the data when offline and den again update with the server once it is back online. I understand that ...
Bibek Sahu's user avatar
0 votes
1 answer
256 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,930