25
Intro to Salesforce1 Mobile Development January 22, 2014

Intro to Salesforce1 Mobile App Development Webinar

Embed Size (px)

DESCRIPTION

The Salesforce1 Mobile App allows developers to easily create mobile applications while leveraging existing skill sets like declarative app building, Visualforce, JavaScript and HTML. If you can build an app on Force.com, you can build a mobile app today. This webinar is the first in a series focusing on new and existing Salesforce1 mobile app features and will demonstrate how you can extend your application with Visualforce, integrate using Force.com Canvas, add in dynamic analytics, and utilize HTML5 features all within the new mobile container. Samantha and Ryan will show developers how to take HTML5 features, like geolocation or accessing the camera, and add them into the mobile application context. Developers will also see some of the unique new features of the platform like push notifications and analytics. Key Takeaways Learn how to leverage your existing Visualforce and JavaScript skills to build mobile apps Use HTML and JavaScript to easily create and customize your mobile interface Leverage platform features for increased productivity within the Salesforce1 mobile app Intended Audience Force.com developers or Salesforce administrators with a working understanding of Visualforce pages. A high-level understanding of Force.com Canvas is also useful.

Citation preview

Intro to Salesforce1 Mobile Development January 22, 2014

#forcewebinar

Safe Harbor

Safe harbor statement under the Private Securities Litigation Reform Act of 1995:

This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.

The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site.

Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.

#forcewebinar

Speakers

Ryan Upton Developer Evangelist @ryanjupton

Samantha Ready Developer Evangelist @samantha_ready

#forcewebinar

The Rise of Mobile Computing in the Enterprise

4

3Q08 2Q09 1Q10 4Q10 3Q11 2Q12 1Q13

Your Employees

Your Company 76 Million PCs

230 Million iOS/Android Unit Sales

2Q13

#forcewebinar

90% Of All Enterprise Apps Will be Mobile by 2017

20%

of enterprise apps are mobile

90%

of enterprise apps will be desktop AND mobile

Source: Gartner, Ian Finley, Research VP; 2010

#forcewebinar

Dif!cult to Build Mobile Apps

Mobile Apps Are Critical

Mobile Apps Deployed

60%

40%

20%

App Gap

Less than

1/2 have deployed

apps

Perc

ent o

f Res

pond

ents

Complexity of Form Factors

Limited Number of Developers

Multiple Operating Systems

Multiple Platforms

#forcewebinar

Introducing Salesforce1

All your past investments...

Drag and drop UI customization

Noti!cations Platform

Publisher Actions

...now in the future

Download Salesforce1 App today

All Your Customizations

All Your Devices

All Your CRM

All Your Apps

https://yourinstance.salesforce.com/one/one.app

#forcewebinar

Chatter Mobile Feeds People & Groups Files Native Experience

Salesforce Classic CRM data Analytics Tasks & events Native phone features

Salesforce Touch CRM access Custom apps

Agility of HTML5

Logger & Forcepad Sales productivity

tools Task management

Call logging

Unifying the Salesforce Mobile Experience

#forcewebinar

Salesforce1 Platform APIs

Salesforce1 App

Salesforce1 Platform Services

Force.com Heroku1 ExactTarget Fuel

The Salesforce1 Customer Platform

#forcewebinar

Let’s dive into the example…

#forcewebinar

Meet Zack and Sarah

#forcewebinar

Zach’s Mobile Needs – Manager

§  Find experts or relevant contacts in the area

–  Notify them

–  Send registration information

§  View analytics on volunteer top performers, hours, and events

§  Send volunteer updates and noti!cations

#forcewebinar

Sarah’s Mobile Needs - Volunteer

§  Volunteer registration

§  On-site check-in

§  Ability to upload photos for volunteer event

§  Collaborate with other volunteers and managers

#forcewebinar

Requirements

Notify and Send Registration Info

On-Site Check-In

View and Share Analytics

Find Volunteers for Events

#forcewebinar

Demo

#forcewebinar

Demo

§  Overview [Sam/Ryan]

§  Find Experts [Ryan]

§  Registration [Ryan]

§  Check in [Sam]

§  Analytics [Sam] –  view in mobile simulator of top performer graph

–  post “Thank you” to volunteer community and thank top performer (@Sarah)

§  Wrap Up [Sam]

#forcewebinar

Publisher Actions

Create actions and add them to the Chatter publisher

§  Global vs Object level –  Declarative: create, update, log-a-call

–  Programmatic: Visualforce, Canvas

§  Publisher events –  JS pub/sub events to communicate with publisher

•  Different SDK events for VF vs Force.com Canvas

•  ex. publisher.setValidForSubmit

Notify and Send Registration Info

On-Site Check-In

View and Share Analytics

Find Volunteers for Events

#forcewebinar

Pro!le Skills

§  Skills allow users to share information about their professional expertise

–  Admins can con!gure skills settings and control how users post relevant skills.

§  Users can add, remove, and endorse skills –  Pro!le feed

–  User feed

Notify and Send Registration Info

On-Site Check-In

View and Share Analytics

Find Volunteers for Events

#forcewebinar

Salesforce1 & Noti!cations

§  Noti!cations allow you to alert users when certain things happen using Salesforce1

–  In-app

–  Push noti!cations

§  Spring 14 will offer more options to Salesforce1 apps for pushing noti!cations to users

–  Task assignment

–  Flagging an item as inappropriate

–  Noti!cations from communities

Notify and Send Registration Info

On-Site Check-In

View and Share Analytics

Find Volunteers for Events

#forcewebinar

Force.com Canvas in the Feed

§  Force.com Canvas enables you to expose your canvas apps as feed items

–  Post to Chatter feed from a Canvas app or Chatter API

–  Display a canvas app inside a Chatter feed item

§  Salesforce1 passes app speci!c context to your canvas app

–  Location

–  Environment

–  App speci!c parameters

Notify and Send Registration Info

On-Site Check-In

View and Share Analytics

Find Volunteers for Events

#forcewebinar

Mobile Visualforce

§  Where can I put Visualforce Pages? –  Navigation Menu

–  Publisher

–  Record detail page

§  CSS needs tweaking. Solution? Mobile templates!

§  Navigation: sforce.one object –  Sforce.one.navigateToRelatedList(relatedListId,

parentRecordId);

§  JS remoting/VF Remote Objects for responsiveness

Notify and Send Registration Info

On-Site Check-In

View and Share Analytics

Find Volunteers for Events

#forcewebinar

Mobile Visualforce (con’t)

§  HTML5 Elements –  Geolocation API

•  JS Remote Action

•  SOQL DISTANCE queries

–  HTML FileReader > Chatter Files

§  Publisher events –  JS pub/sub events to communicate with publisher

•  setValidForSubmit

•  post

•  close

Notify and Send Registration Info

On-Site Check-In

View and Share Analytics

Find Volunteers for Events

#forcewebinar

Analytics

§  Visualforce using the Analytics API –  Mobile Card

–  Tab

§  Declarative –  Dashboards tab in mobile navigation

–  Embedded charts on record detail page

§  Historical Trending –  Enable historical trending on object & !eld

–  Report type = [Enabled object] with historical trending

§  Analytics API in Apex

Notify and Send Registration Info

On-Site Check-In

View and Share Analytics

Find Volunteers for Events

#forcewebinar

Try it yourself!

§  developer.salesforce.com

§  Sign up to start developing –  FREE Developer Edition: bit.ly/DE-join

§  Follow the Salesforce1 Dev Guide - bit.ly/s1-dev-guide

§  Test it out in the app –  Download the Salesforce1 app

–  Open in your mobile browser: •  https://[--yourinstance--].salesforce.com/one/one.app

#forcewebinar

Salesforce1 Resources

§  Dreamforce Sessions – bit.ly/s1-df-sessions

§  Developer Guide – bit.ly/s1-dev-guide

§  Blogs: –  6 things you need to know: bit.ly/s1-6-things

–  Mobile cards: bit.ly/s1-mobile-cards

–  App Boogie Fever: bit.ly/s1-boogie