Offline Pro : File Handling With Mobile & Salesforce : Introduction

AngularJS Jul 22, 2018

Hi Guys,

Today, I am starting this tutorial Offline Pro to give basic step to step process to handle Salesforce files on mobile specifically in offline mode. This is something I designed recently and want to share my knowledge amongst all.

In this post, I will give a basic introduction to all the steps that are needed to design this solution. To make this tutorial interactive and easy, I am breaking the full solution in multiple posts and will write them one by one.

At the end of every post, I would really recommend everyone to do some hands-on and try to find the next bit of solution. If you guys are able to find the next bit before my next post, please do comment so that we can cross check. If you guys think, the solution can be better or you need more info, please write in comments sections and we will discuss that further.

Below is the screenshot of two basic operations that we need to perform.


Following will be my discussion points in various posts:

  1. Create a File Picker to enable camera(to take pictures) or to pick photos or files and preview them.

  2. Save images/files somewhere on your device to be picked at the time of sync.

  3. Pick images/files(from stored location) and sync with Salesforce

  4. Delete/Archive images when not needed.

  5. Create a File Downloader to download images on demand or automatic on sync.


For the purpose of this tutorial, I have used Ionic1/Angular1 to make a hybrid app but the concepts are same. You can use any language for hands-on.

To start, please go to my next post Create a File Picker.