GlueCon 2012 Salesforce Mobile SDK Demo
As first presented in We Don’t Need No Stinkin App Server! Building a Two-Tier Mobile App; a session at Gluecon 2012; and later in the Touch Stadium at Dreamforce 2012.
Install the Salesforce Mobile SDK (this latest version of the demo runs on version 1.3 of the Mobile SDK) and create a new "Hybrid Force.com App" project according to instructions in the README. Clone this project and drop the files into your hybrid app's folder, overwriting
inline.js, and creating a new
You will also need to create a Force.com Developer Edition environment and add two custom fields to the standard Contact object:
- ImageId - text field, length = 18
Image - formula field, type = text, formula:
IF( ImageId__c != null , HYPERLINK('/' & ImageId__c, IMAGE( '/sfc/servlet.shepherd/version/download/' & ImageId__c, '', 150, 100)) , IMAGE('' , '' , 0 , 0))