You may have already heard of Salesforce1, which was released early today at Dreamforce ’13. At the beginning, I was not too impressed with the application because Salesforce have already developed and distributed some very nice applications for mobile devices (Chatter, Touch, Logger, …) until I realized this is not just another application but an actual platform!
You can customize this application by building your own user interface with page layouts, actions, and if you need more advanced user interfaces, you can build Visualforce pages.
You have already experienced how easy is to build applications using clicks and a bit of code, but those applications have only been running on desktop (non-mobile devices) systems until today. This is going to be the real revolution!
I had wanted to build a Salesforce application that runs on mobile devices, but my only options had been using the Salesforce SDK. Don’t take me wrong the Salesforce SDK is great, powerful and simple but it requires you to code in Objective-C or Java and build the entire application yourself. But really, do we need to go through this much… There must be a better way! That is exactly what was announced today with Salesforce1
As soon as I heard about this new platform, I got really excited and decided to finally build the application. I am very impressed at how easy, and fast it was to develop and how beautiful it works on my mobile device.
This article will show you how I built such application, but before we get started, let me tell you what I built.
Some of you who have already met me in person know that “El Toro” is a Salesforce instructor who travels a lot teaching the developer courses; therefore I have to submit many expense reports. My main issue is that the credit card company must report those expenses before I can create the expense report. This may not sound bad, but I have to keeping track of a lot of paper receipts, remembering what each receipt was for, reading the receipts which degrade after a while, …
The application I will show you how I built helps me keep track of the expenses, fill out some fields (local amount, reason, payment type, geo-location, …), and attaching a picture of the receipt.
Note: At the bottom of this article, I have included some information as how you can install an unmanaged package (so you can see and edit the code) with this application.