SlideShare une entreprise Scribd logo
1  sur  25
Case Study: Building a Mobile App
for Field Service
Cory Cowgill
The Warranty Group
Salesforce Analyst & Force.com MVP
@corycowgill
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 any
litigation, risks associated with completed and any 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-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent
fiscal quarter. These 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.
Agenda
 Mobile Application Case Study Overview
• Service Cloud and Platform Features
• Quick Intro to Mobile Architecture
• Live Demonstration – Tap to Case

 Application Functionality and Code Deep Dive
• Mobile UI with jQuery Mobile
• Salesforce Mobile SDK for Security & REST API Access
• NFC Phonegap Plugin for Serial Number Scanning
• HTML5 Canvas for Client Signature Capture
• Camera Access for Case Documentation
• Chatter API for Social Feeds on Cases
Tap To Case
A complete application for mobile field service agents.
Salesforce.com Solution

Case Management
CTI Integration
Dispatch & Scheduling
Service Agreements (Entitlements)
Social Feeds

Security Authentication & Authorization
REST API Access
Quick Intro – Hybrid Mobile Architecture
 HTML5 & Javascript Based
• Allows developers to reuse existing
skillsets.

 Allows access to device API
• Provides greater access to device
hardware via PhoneGap plugins.

 Trade Off
• Application performance will not be
as quick as purely native
applications.
Demonstration
 Tap To Case
• HTML5 Hybrid App
• Android (NFC)
• Mobile Field Service
Mobile UI with jQuery Mobile
 Themes & Styling
 Navigation
• Single Page
• Multiple Page
• Sidepanel

 UI Elements
• Content Sections (DIV w/ Data-Role)
• Buttons
• Lists
• Effects
Mobile UI with jQuery Mobile Code
Salesforce Mobile SDK – Security & OAuth
Salesforce Mobile SDK – Query, Insert Case Data
 Force TK Security & Session Management

 Force TK Client Query & Insert Data
forcetkClient.query("Select Id, CaseNumber, Description, Status, Subject, Priority, ContactId, Contact.Name,
Contact.Email, Contact.Phone, Account.Name, AccountId, Account.BillingStreet, Account.BillingCity,
Account.BillingState, Account.BillingPostalCode, Device__c, Device__r.Name, Device__r.Model__c,
Device__r.Serial_Number__c, (Select Id, Subject, StartDateTime from Events order by StartDateTime limit 1 ),
(Select Id, Name, Quantity__c, Part__r.Name from Case_Parts__r) from Case",onSuccessSfdcCases,
onErrorSfdc);
NFC Phonegap Plugin
 Register NFC Listener

 On NFC Read Event - Process Case Query
HTML5 Canvas for Client Signature Capture
 Create a Canvas Element

 On Touch Events Draw the Signature
HTML5 Canvas for Client Signature Capture
 Capture Signature Content in JavaScript for Upload
Camera Access for Case Documentation
 On Camera Button Link

 Capture the Image Content Returned
Social API – Chatter Feeds Query
 Query Chatter Records
function pullCaseChatter()
{
forcetkClient.query("Select c.Id, c.CreatedBy.Name, c.CreatedById, c.CreatedDate, c.Body, (Select Id, FeedItemId,
ParentId, CreatedById, CreatedBy.Name, CreatedDate, CommentBody, InsertedById, CommentType, RelatedRecordId
From FeedComments),(Select Id, FeedItemId, FieldName, OldValue, NewValue From FeedTrackedChanges) From
CaseFeed c where ParentId = '" + selectedCase.Id + "'", onSuccessSfdcCaseFeed, onErrorSfdc);
}
Social API – Chatter Feeds Display
 Display in A Collapsible jQuery Mobile DIV
Putting it all together
Additional Resources
 Developer Force
• http://developer.force.com
• http://wiki.developerforce.com/page/Developing_Mobile_Applications_That_Sup
port_Near_Field_Communication_(NFC)

 GitHub
• https://github.com/corycowgill/MobileFieldServiceApp

 Salesforce Mobile Gallery
• http://www2.developerforce.com/mobile/gallery
Slide parts
Slide parts
Slide parts
Slide parts

Contenu connexe

Tendances

Salesforce.com Mobile Dev Week Chicago DUG
Salesforce.com Mobile Dev Week Chicago DUGSalesforce.com Mobile Dev Week Chicago DUG
Salesforce.com Mobile Dev Week Chicago DUG
Tom Gersic
 
Salesforce1 for developers
Salesforce1 for developersSalesforce1 for developers
Salesforce1 for developers
David Scruggs
 

Tendances (20)

Mobile Developer Week
Mobile Developer WeekMobile Developer Week
Mobile Developer Week
 
Advanced Uses of Salesforce's Login Flows
Advanced Uses of Salesforce's Login FlowsAdvanced Uses of Salesforce's Login Flows
Advanced Uses of Salesforce's Login Flows
 
Introducing Salesforce Identity
Introducing Salesforce IdentityIntroducing Salesforce Identity
Introducing Salesforce Identity
 
Integrating Active Directory with Salesforce
Integrating Active Directory with SalesforceIntegrating Active Directory with Salesforce
Integrating Active Directory with Salesforce
 
Salesforce.com Mobile Dev Week Chicago DUG
Salesforce.com Mobile Dev Week Chicago DUGSalesforce.com Mobile Dev Week Chicago DUG
Salesforce.com Mobile Dev Week Chicago DUG
 
Agile Development with Heroku webinar
Agile Development with Heroku webinarAgile Development with Heroku webinar
Agile Development with Heroku webinar
 
Advanced Platform Series - OAuth and Social Authentication
Advanced Platform Series - OAuth and Social AuthenticationAdvanced Platform Series - OAuth and Social Authentication
Advanced Platform Series - OAuth and Social Authentication
 
Salesforce Identity: Don't Treat Your Customers Like Your Employees
Salesforce Identity: Don't Treat Your Customers Like Your EmployeesSalesforce Identity: Don't Treat Your Customers Like Your Employees
Salesforce Identity: Don't Treat Your Customers Like Your Employees
 
Salesforce1 for developers
Salesforce1 for developersSalesforce1 for developers
Salesforce1 for developers
 
Salesforce Identity: Connect and Collaborate Anywhere, Securely with Single S...
Salesforce Identity: Connect and Collaborate Anywhere, Securely with Single S...Salesforce Identity: Connect and Collaborate Anywhere, Securely with Single S...
Salesforce Identity: Connect and Collaborate Anywhere, Securely with Single S...
 
Single Sign-On and User Provisioning with Salesforce Identity
Single Sign-On and User Provisioning with Salesforce IdentitySingle Sign-On and User Provisioning with Salesforce Identity
Single Sign-On and User Provisioning with Salesforce Identity
 
Create Lightning from Salesforce Lightning & IoT
Create Lightning from Salesforce Lightning & IoTCreate Lightning from Salesforce Lightning & IoT
Create Lightning from Salesforce Lightning & IoT
 
Lightning App Builder: Build Apps Visually for the new Lightning Experience
Lightning App Builder: Build Apps Visually for the new Lightning ExperienceLightning App Builder: Build Apps Visually for the new Lightning Experience
Lightning App Builder: Build Apps Visually for the new Lightning Experience
 
Salesforce1 for Developers
Salesforce1 for DevelopersSalesforce1 for Developers
Salesforce1 for Developers
 
Salesforce Summer of Hacks London - Introduction
Salesforce Summer of Hacks London - IntroductionSalesforce Summer of Hacks London - Introduction
Salesforce Summer of Hacks London - Introduction
 
New Lightning Experience: Build Custom Apps in a Flash
New Lightning Experience: Build Custom Apps in a FlashNew Lightning Experience: Build Custom Apps in a Flash
New Lightning Experience: Build Custom Apps in a Flash
 
Salesforce Mobile DevWeek 21-28 April: Introduction to Native & Hybrid Develo...
Salesforce Mobile DevWeek 21-28 April: Introduction to Native & Hybrid Develo...Salesforce Mobile DevWeek 21-28 April: Introduction to Native & Hybrid Develo...
Salesforce Mobile DevWeek 21-28 April: Introduction to Native & Hybrid Develo...
 
Lightning Components and Visualforce: Your Questions Answered
Lightning Components and Visualforce: Your Questions AnsweredLightning Components and Visualforce: Your Questions Answered
Lightning Components and Visualforce: Your Questions Answered
 
Salesforce Identity: Identity Management Made Easy
Salesforce Identity: Identity Management Made EasySalesforce Identity: Identity Management Made Easy
Salesforce Identity: Identity Management Made Easy
 
Modeling and Querying Data and Relationships in Salesforce
Modeling and Querying Data and Relationships in SalesforceModeling and Querying Data and Relationships in Salesforce
Modeling and Querying Data and Relationships in Salesforce
 

En vedette

Video Surveillance Using Raspberry Pi Architecture
Video Surveillance Using Raspberry Pi ArchitectureVideo Surveillance Using Raspberry Pi Architecture
Video Surveillance Using Raspberry Pi Architecture
RUTURAJ SHETE
 
report on intelligent energy conservation system
report on intelligent energy conservation system report on intelligent energy conservation system
report on intelligent energy conservation system
vyomesh upadhyay
 
Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)
Umar Shuaib
 
Energy saving using pir sensor
Energy saving using pir sensorEnergy saving using pir sensor
Energy saving using pir sensor
Himani Harbola
 
Co operative housing society
Co operative housing societyCo operative housing society
Co operative housing society
Nemi Verma
 

En vedette (20)

Video Surveillance Using Raspberry Pi Architecture
Video Surveillance Using Raspberry Pi ArchitectureVideo Surveillance Using Raspberry Pi Architecture
Video Surveillance Using Raspberry Pi Architecture
 
Propkeep
PropkeepPropkeep
Propkeep
 
Housing Society Management Desktop Software
Housing Society Management Desktop SoftwareHousing Society Management Desktop Software
Housing Society Management Desktop Software
 
report on intelligent energy conservation system
report on intelligent energy conservation system report on intelligent energy conservation system
report on intelligent energy conservation system
 
Environmentally sustainable housing for women's single living
Environmentally sustainable housing for women's single livingEnvironmentally sustainable housing for women's single living
Environmentally sustainable housing for women's single living
 
INTELLIGENT ROOM LIGHTING ON PERSON PRESENCE
INTELLIGENT ROOM LIGHTING ON PERSON PRESENCEINTELLIGENT ROOM LIGHTING ON PERSON PRESENCE
INTELLIGENT ROOM LIGHTING ON PERSON PRESENCE
 
Pir based lighting control
Pir based lighting controlPir based lighting control
Pir based lighting control
 
Automatic Light Control using LDR and PIR Sensor
Automatic Light Control using LDR and PIR SensorAutomatic Light Control using LDR and PIR Sensor
Automatic Light Control using LDR and PIR Sensor
 
Smart lighting solutions with motion sensors occupancy sensors pir sensors
Smart lighting solutions with motion sensors occupancy sensors pir sensorsSmart lighting solutions with motion sensors occupancy sensors pir sensors
Smart lighting solutions with motion sensors occupancy sensors pir sensors
 
Human presence detection based room light controller using pir2.pptx [repaired]
Human presence detection based room light controller using pir2.pptx [repaired]Human presence detection based room light controller using pir2.pptx [repaired]
Human presence detection based room light controller using pir2.pptx [repaired]
 
Low Cost HD Surveillance Camera using Raspberry PI
Low Cost HD Surveillance Camera using Raspberry PILow Cost HD Surveillance Camera using Raspberry PI
Low Cost HD Surveillance Camera using Raspberry PI
 
Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)
 
Energy saving using pir sensor
Energy saving using pir sensorEnergy saving using pir sensor
Energy saving using pir sensor
 
Smart surveillance monitoring system using raspberry pi and
Smart surveillance monitoring system using raspberry pi andSmart surveillance monitoring system using raspberry pi and
Smart surveillance monitoring system using raspberry pi and
 
Smart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PISmart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PI
 
Online Housing Society Management
Online Housing Society ManagementOnline Housing Society Management
Online Housing Society Management
 
ApartmentADDA - India's #1 Apartment Management and Accounting Platform
ApartmentADDA - India's #1 Apartment Management and Accounting PlatformApartmentADDA - India's #1 Apartment Management and Accounting Platform
ApartmentADDA - India's #1 Apartment Management and Accounting Platform
 
Housing society-management-software
Housing society-management-softwareHousing society-management-software
Housing society-management-software
 
ApnaComplex Profile and Overview
ApnaComplex Profile and OverviewApnaComplex Profile and Overview
ApnaComplex Profile and Overview
 
Co operative housing society
Co operative housing societyCo operative housing society
Co operative housing society
 

Similaire à Df13 cory cowgill_theater_session_mobile_app_field_service

Salesforce App Cloud First Call Deck
Salesforce App Cloud First Call DeckSalesforce App Cloud First Call Deck
Salesforce App Cloud First Call Deck
Salesforce Partners
 
Intro to Salesforce Mobile SDK: Building Hybrid Apps Webinar
Intro to Salesforce Mobile SDK: Building Hybrid Apps WebinarIntro to Salesforce Mobile SDK: Building Hybrid Apps Webinar
Intro to Salesforce Mobile SDK: Building Hybrid Apps Webinar
Salesforce Developers
 
1. five habits of highly successful clouds
1. five habits of highly successful clouds1. five habits of highly successful clouds
1. five habits of highly successful clouds
EuroCloud
 

Similaire à Df13 cory cowgill_theater_session_mobile_app_field_service (20)

Snap-in Service to Web and Mobile Apps
Snap-in Service to Web and Mobile AppsSnap-in Service to Web and Mobile Apps
Snap-in Service to Web and Mobile Apps
 
Mobile Packs From Salesforce.com
Mobile Packs From Salesforce.comMobile Packs From Salesforce.com
Mobile Packs From Salesforce.com
 
Lightning Component Framework from 0 to App
Lightning Component Framework from 0 to AppLightning Component Framework from 0 to App
Lightning Component Framework from 0 to App
 
Summer of Mobile #2: How to Go Mobile on the Salesforce Platform
Summer of Mobile #2: How to Go Mobile on the Salesforce PlatformSummer of Mobile #2: How to Go Mobile on the Salesforce Platform
Summer of Mobile #2: How to Go Mobile on the Salesforce Platform
 
Salesforce Mobile architecture introduction
Salesforce Mobile architecture introductionSalesforce Mobile architecture introduction
Salesforce Mobile architecture introduction
 
Salesforce App Cloud First Call Deck
Salesforce App Cloud First Call DeckSalesforce App Cloud First Call Deck
Salesforce App Cloud First Call Deck
 
Get Started with the Lightning Platform
Get Started with the Lightning PlatformGet Started with the Lightning Platform
Get Started with the Lightning Platform
 
Tour of Heroku + Salesforce Integration Methods
Tour of Heroku + Salesforce Integration MethodsTour of Heroku + Salesforce Integration Methods
Tour of Heroku + Salesforce Integration Methods
 
Extracting Microservices from your Monolithic org - Strategies and Tactics
Extracting Microservices from your Monolithic org - Strategies and TacticsExtracting Microservices from your Monolithic org - Strategies and Tactics
Extracting Microservices from your Monolithic org - Strategies and Tactics
 
Platform Breakout Session - Dreamforce to You
Platform Breakout Session - Dreamforce to YouPlatform Breakout Session - Dreamforce to You
Platform Breakout Session - Dreamforce to You
 
[MBF2] Plate-forme Salesforce par Peter Chittum
[MBF2] Plate-forme Salesforce par Peter Chittum[MBF2] Plate-forme Salesforce par Peter Chittum
[MBF2] Plate-forme Salesforce par Peter Chittum
 
Real Time Integration with Salesforce Platform Events
Real Time Integration with Salesforce Platform EventsReal Time Integration with Salesforce Platform Events
Real Time Integration with Salesforce Platform Events
 
Create Lightning with Lightning & IoT
Create Lightning with Lightning & IoTCreate Lightning with Lightning & IoT
Create Lightning with Lightning & IoT
 
Build Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJS
Build Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJSBuild Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJS
Build Real-time Multi-User Apps With Visualforce, GoInstant, and AngularJS
 
Modern Architectures: Integration Stories from the Field
Modern Architectures: Integration Stories from the FieldModern Architectures: Integration Stories from the Field
Modern Architectures: Integration Stories from the Field
 
Intro to the Salesforce Mobile SDK: Building Android Apps
Intro to the Salesforce Mobile SDK: Building Android AppsIntro to the Salesforce Mobile SDK: Building Android Apps
Intro to the Salesforce Mobile SDK: Building Android Apps
 
Enterprise IoT: Data in Context
Enterprise IoT: Data in ContextEnterprise IoT: Data in Context
Enterprise IoT: Data in Context
 
S1 Tour Paris Developpeurs
S1 Tour Paris DeveloppeursS1 Tour Paris Developpeurs
S1 Tour Paris Developpeurs
 
Intro to Salesforce Mobile SDK: Building Hybrid Apps Webinar
Intro to Salesforce Mobile SDK: Building Hybrid Apps WebinarIntro to Salesforce Mobile SDK: Building Hybrid Apps Webinar
Intro to Salesforce Mobile SDK: Building Hybrid Apps Webinar
 
1. five habits of highly successful clouds
1. five habits of highly successful clouds1. five habits of highly successful clouds
1. five habits of highly successful clouds
 

Dernier

Dernier (20)

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 

Df13 cory cowgill_theater_session_mobile_app_field_service

  • 1. Case Study: Building a Mobile App for Field Service Cory Cowgill The Warranty Group Salesforce Analyst & Force.com MVP @corycowgill
  • 2. 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 any litigation, risks associated with completed and any 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-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These 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.
  • 3. Agenda  Mobile Application Case Study Overview • Service Cloud and Platform Features • Quick Intro to Mobile Architecture • Live Demonstration – Tap to Case  Application Functionality and Code Deep Dive • Mobile UI with jQuery Mobile • Salesforce Mobile SDK for Security & REST API Access • NFC Phonegap Plugin for Serial Number Scanning • HTML5 Canvas for Client Signature Capture • Camera Access for Case Documentation • Chatter API for Social Feeds on Cases
  • 4. Tap To Case A complete application for mobile field service agents.
  • 5. Salesforce.com Solution Case Management CTI Integration Dispatch & Scheduling Service Agreements (Entitlements) Social Feeds Security Authentication & Authorization REST API Access
  • 6. Quick Intro – Hybrid Mobile Architecture  HTML5 & Javascript Based • Allows developers to reuse existing skillsets.  Allows access to device API • Provides greater access to device hardware via PhoneGap plugins.  Trade Off • Application performance will not be as quick as purely native applications.
  • 7. Demonstration  Tap To Case • HTML5 Hybrid App • Android (NFC) • Mobile Field Service
  • 8. Mobile UI with jQuery Mobile  Themes & Styling  Navigation • Single Page • Multiple Page • Sidepanel  UI Elements • Content Sections (DIV w/ Data-Role) • Buttons • Lists • Effects
  • 9. Mobile UI with jQuery Mobile Code
  • 10. Salesforce Mobile SDK – Security & OAuth
  • 11. Salesforce Mobile SDK – Query, Insert Case Data  Force TK Security & Session Management  Force TK Client Query & Insert Data forcetkClient.query("Select Id, CaseNumber, Description, Status, Subject, Priority, ContactId, Contact.Name, Contact.Email, Contact.Phone, Account.Name, AccountId, Account.BillingStreet, Account.BillingCity, Account.BillingState, Account.BillingPostalCode, Device__c, Device__r.Name, Device__r.Model__c, Device__r.Serial_Number__c, (Select Id, Subject, StartDateTime from Events order by StartDateTime limit 1 ), (Select Id, Name, Quantity__c, Part__r.Name from Case_Parts__r) from Case",onSuccessSfdcCases, onErrorSfdc);
  • 12. NFC Phonegap Plugin  Register NFC Listener  On NFC Read Event - Process Case Query
  • 13. HTML5 Canvas for Client Signature Capture  Create a Canvas Element  On Touch Events Draw the Signature
  • 14. HTML5 Canvas for Client Signature Capture  Capture Signature Content in JavaScript for Upload
  • 15. Camera Access for Case Documentation  On Camera Button Link  Capture the Image Content Returned
  • 16. Social API – Chatter Feeds Query  Query Chatter Records function pullCaseChatter() { forcetkClient.query("Select c.Id, c.CreatedBy.Name, c.CreatedById, c.CreatedDate, c.Body, (Select Id, FeedItemId, ParentId, CreatedById, CreatedBy.Name, CreatedDate, CommentBody, InsertedById, CommentType, RelatedRecordId From FeedComments),(Select Id, FeedItemId, FieldName, OldValue, NewValue From FeedTrackedChanges) From CaseFeed c where ParentId = '" + selectedCase.Id + "'", onSuccessSfdcCaseFeed, onErrorSfdc); }
  • 17. Social API – Chatter Feeds Display  Display in A Collapsible jQuery Mobile DIV
  • 18. Putting it all together
  • 19. Additional Resources  Developer Force • http://developer.force.com • http://wiki.developerforce.com/page/Developing_Mobile_Applications_That_Sup port_Near_Field_Communication_(NFC)  GitHub • https://github.com/corycowgill/MobileFieldServiceApp  Salesforce Mobile Gallery • http://www2.developerforce.com/mobile/gallery
  • 20.
  • 21.

Notes de l'éditeur

  1. Add a link to or slide to Mobile SDK, NFC.
  2. These are the parts of the solution used. Maybe Refont