Salesforce Mobile SDK and Ionic – Offline – SmartStore Setup

Salesforce Mobile SDK and Ionic – Offline – SmartStore Setup

Since we are going to be saving some data offline we should start by creating a SmartStore for our data. SmartStore Setup Before we setup SmartStore we should know a couple things.  Each SmartStore database or cache is called a Store.  Stores contain partitions of our data called Soups.  We can create Soups without specifying … Continue reading Salesforce Mobile SDK and Ionic – Offline – SmartStore Setup

Salesforce Mobile SDK and Ionic – Offline – Intro

Salesforce Mobile SDK and Ionic - Offline - Intro

One of the main reasons a mobile app would be preferred over a website is the ability to function offline.  With people on the go with variably reliable internet connections this can be a big concern.  Luckily we haven't been building a website so we can deal with this using the tools that the Salesforce … Continue reading Salesforce Mobile SDK and Ionic – Offline – Intro

Salesforce Mobile SDK and Ionic – Remote Hybrid App – Update without Rebuilding

One of the reason to build a Remote Hybrid app is so that you can make changes to it without having to rebuild and resubmit it to a store.  Since the main view is a Visualforce page we can make changes to it in Salesforce and see them instantly in our app. Update the Visualforce … Continue reading Salesforce Mobile SDK and Ionic – Remote Hybrid App – Update without Rebuilding

Salesforce Mobile SDK and Ionic – Remote Hybrid App – RemoteActions Part 4

Salesforce Mobile SDK and Ionic – Remote Hybrid App – RemoteActions Part 4

With our newly added class of Contact we should be able to find any issues that will arise from switching to Remote actions. See the errors yet? If you are using an editor like VisualStudio Code you can look in the "Problems" tab/window to see any issues our new definitions have caused. Problems If you are … Continue reading Salesforce Mobile SDK and Ionic – Remote Hybrid App – RemoteActions Part 4

Salesforce Mobile SDK and Ionic – Remote Hybrid App – RemoteActions Part 3

Salesforce Mobile SDK and Ionic – Remote Hybrid App – RemoteActions Part 3

Since we have updated our contacts-service to use RemoteActions instead of ForceJS we will have to make a couple changes to our app to make use of the results of the RemoteActions since they are not formed the same as when the requests go through ForceJS. Find What to Fix First thing we will need … Continue reading Salesforce Mobile SDK and Ionic – Remote Hybrid App – RemoteActions Part 3

Salesforce Mobile SDK and Ionic – Remote Hybrid App – RemoteActions Part 2

Salesforce Mobile SDK and Ionic – Remote Hybrid App – RemoteActions Part 2

Since we have setup our ContactMobileAppController we should change our ContactsServiceProvider to make use of those RemoteActions. Update ContactsServiceProvider Since our app was a working copy of a Local Hybrid app we already have a service provider in place that works.  Because of this we will not create a new one.  Instead let's modify it so that … Continue reading Salesforce Mobile SDK and Ionic – Remote Hybrid App – RemoteActions Part 2