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
0
votes
1answer
111 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 ...
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 ...
3
votes
1answer
363 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 ...
0
votes
1answer
86 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 ...
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 ...
2
votes
1answer
120 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 ...
0
votes
0answers
21 views

Creating user defined functions in SQLite using SalesforceMobileSDK-iOS

I am using SalesforceMobileSDK-iOS for building native iOS app that interact with the Salesforce platform. I need to create a user defined functions in SQLite database for example RemoveDiacritics. ...
1
vote
0answers
162 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
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....
0
votes
1answer
155 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 ...
2
votes
1answer
57 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 ...
3
votes
0answers
34 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 ...
1
vote
0answers
233 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 ...
2
votes
1answer
253 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 ...
3
votes
1answer
63 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. ...
0
votes
1answer
103 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 ...
6
votes
1answer
221 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 {...
2
votes
1answer
219 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 ...
3
votes
1answer
775 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: ...
0
votes
1answer
159 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 ...
2
votes
1answer
96 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 ...
1
vote
1answer
156 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 ...
3
votes
0answers
241 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", "...
1
vote
1answer
64 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.