SlideShare a Scribd company logo
1 of 30
Download to read offline
Building mobile apps using
Salesforce geolocation features
Christopher Barrett, DDR Corp, Senior Manager of Business Applications
@DDR_IT_CBarrett
Benjamin Pirih, NTT Centerstance, Senior Consultant
@BenjaminPirih
Salesforce 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.
DDR Corp. Safe harbor
DDR considers portions of the information in this presentation to be forward-looking statements within the meaning of Section 27A
of the Securities Act of 1933 and Section 21E of the Securities Exchange Act of 1934, both as amended, with respect to the
Company's expectation for future periods. Although the Company believes that the expectations reflected in such forward-looking
statements are based upon reasonable assumptions, it can give no assurance that its expectations will be achieved. For this
purpose, any statements contained herein that are not historical fact may be deemed to be forward-looking statements. There are a
number of important factors that could cause our results to differ materially from those indicated by such forward-looking
statements, including, among other factors, local conditions such as oversupply of space or a reduction in demand for real estate in
the area; competition from other available space; dependence on rental income from real property; the loss of, significant
downsizing of or bankruptcy of a major tenant; constructing properties or expansions that produce a desired yield on investment;
our ability to buy or sell assets on commercially reasonable terms; our ability to complete acquisitions or dispositions of assets
under contract; our ability to secure equity or debt financing on commercially acceptable terms or at all; our ability to enter into
definitive agreements with regard to our financing and joint venture arrangements or our failure to satisfy conditions to the
completion of these arrangements; and the success of our capital recycling strategy. For additional factors that could cause the
results of the Company to differ materially from those indicated in the forward-looking statements, please refer to the Company's
Form 10-K for the year ended December 31, 2012, as amended. The Company undertakes no obligation to publicly revise these
forward-looking statements to reflect events or circumstances that arise after the date hereof.
Christopher Barrett
DDR Corp
Senior Manager of Business Applications
@DDR_IT_CBarrett
All about DDR Corp.
DDR Corp. owns and manages approximately 440 retail
properties in the continental United States, Puerto Rico and
Brazil. Our prime portfolio primarily features open-air, valueoriented shopping centers in high barrier-to-entry markets
with stable populations and high growth potential.
▪ DDR Corp. aspires to be the most admired provider of retail
destinations and the first consideration for retailers, investors,
partners and employees.
▪ The company is publicly traded on the New York Stock Exchange
under the symbol DDR.
More information: http://www.ddr.com
Benjamin Pirih
NTT Centerstance
Senior Consultant
@BenjaminPirih
All about NTT Centerstance
NTT Centerstance is a consulting company specializing in
business transformation through process improvement and
application of cloud technologies.
▪ Platinum Cloud Alliance Partner with salesforce.com with one of the
highest customer satisfaction ratings
▪ Ranked in top ten "Best of the Best" professional services firms by
SPI research two years running
▪ 110+ employees with extensive management consulting, technology
and business process experience
More information http://www.nttcenterstance.com
Geolocation for DDR
We use this technology to enhance our mobile applications:
▪ AdvancedSearch
• Visualize DDR shopping center locations
• Display locations of nearby DDR shopping centers
• Search and display locations of nearby retailers

▪ LocationPicker
• Better manage our portfolio of shopping centers through geolocation tagging of
shopping center incident locations
Geolocation in Salesforce
How to store geolocation information
▪ Before winter 13 release stored latitude and longitude as text fields
• Consumed two fields
• No location-based searching

▪ Winter 13 release created new geolocation field type
• Compound field that contains both latitude and longitude
• Supports Degree or Decimal notation
• WITHIN operator for list views based on location
• Location-based search on Salesforce objects using Distance and Geolocation
Technology Overview
The following technologies were used in our applications:
▪ Visualforce and Apex
▪ SOQL Geolocation functions
▪ Visualforce Javascript remoting
▪ Google Maps Javascript API v3
▪ Google Static Maps API v2
▪ Google Places API
▪ jQuery
Demo - Visualize DDR shopping center locations
Query Geolocation Fields
Perform SOQL query to return location based information
▪ New query syntax
Shopping Center Visualization Implementation
Apex Controller retrieved location information via SOQL query
Defined public property for our result in visualforce controller class

JSON Encoded query
Shopping Center Visualization Implementation
In Javascript render a Google Maps Marker
Demo - Display locations of nearby DDR shopping
centers
Visualize Nearby Shopping Centers
How did we search for nearby centers?
▪ Winter 13 Supports the Distance and Geolocation SOQL Functions
• Distance Function calculates the distance between two locations in miles or
kilometers
• Geolocation Function returns a location based on the provided latitude and
longitude
– Must be used with Distance Function
Performing Distance Based Query
Use SOQL to construct query
Google Places Search vs. Salesforce Location Query
Ability to search and display locations of nearby retailers
▪ Used Google Places API to retrieve business information
• No way to filter results for specific business types
• Results were misleading / incorrect
• Usage limits

▪ Create custom Salesforce object to mange retailer location information
• Allowed complete control over search results
• Can filter based on object fields in SOQL
• Location-based search on Salesforce objects
Demo - Search and display locations of nearby
retailers
Google Places Search vs. Salesforce Location Query
Calling Google Places
▪ Used Google Places API Rest to access retailer information
Google Places Search vs. Salesforce Location Query
Calling Salesforce geolocation Query
Incident Management Using Geolocation
DDR wanted to better manage Shopping Center Incidents
▪ Constructed a custom object to store incident information
▪ Used Google Maps to plot incident locations and store in Salesforce
▪ Developed the capability to capture static map images
Demo – LocationPicker for Incident Management
Incident Management Using Geolocation
Define a method with the @Remote Action attribute in Controller
Perform Javascript Remoting call to Apex Method
Incident Management Static Maps API Usage
Retrieve Incidents and construct URL to Google Static Maps API
Incident Management Static Maps API Usage
Make HTTP Request and Return Image Result
Incident Management Static Maps API Usage
Save Http Result Blob as Attachment
Conclusion
1. Demonstrated DDR’s business benefits from the usage of native geolocation functionality.
2. Demonstrated real world mobile applications showcasing native geolocation functionality.
3. Explained the core technologies and methodologies used when working with geolocation
fields.
We would encourage you to develop applications using this technology.
Building Mobile Apps Using Salesforce Geolocation Features
Building Mobile Apps Using Salesforce Geolocation Features

More Related Content

What's hot

What's hot (20)

Understanding the Salesforce Architecture: How We Do the Magic We Do
Understanding the Salesforce Architecture: How We Do the Magic We DoUnderstanding the Salesforce Architecture: How We Do the Magic We Do
Understanding the Salesforce Architecture: How We Do the Magic We Do
 
Episode 20 - Trigger Frameworks in Salesforce
Episode 20 - Trigger Frameworks in SalesforceEpisode 20 - Trigger Frameworks in Salesforce
Episode 20 - Trigger Frameworks in Salesforce
 
Apex trigger framework Salesforce #ApexTrigger #Salesforce #SFDCPanther
Apex trigger framework Salesforce #ApexTrigger #Salesforce #SFDCPantherApex trigger framework Salesforce #ApexTrigger #Salesforce #SFDCPanther
Apex trigger framework Salesforce #ApexTrigger #Salesforce #SFDCPanther
 
Morel, a data-parallel programming language
Morel, a data-parallel programming languageMorel, a data-parallel programming language
Morel, a data-parallel programming language
 
Introduction to Salesforce.com
Introduction to Salesforce.comIntroduction to Salesforce.com
Introduction to Salesforce.com
 
Apex Trigger in Salesforce
Apex Trigger in SalesforceApex Trigger in Salesforce
Apex Trigger in Salesforce
 
Salesforce Marketing cloud
Salesforce Marketing cloudSalesforce Marketing cloud
Salesforce Marketing cloud
 
Salesforce Basic Navigation
Salesforce Basic NavigationSalesforce Basic Navigation
Salesforce Basic Navigation
 
Introduction to Visualforce
Introduction to VisualforceIntroduction to Visualforce
Introduction to Visualforce
 
Salesforce Tutorial for Beginners: Basic Salesforce Introduction
Salesforce Tutorial for Beginners: Basic Salesforce IntroductionSalesforce Tutorial for Beginners: Basic Salesforce Introduction
Salesforce Tutorial for Beginners: Basic Salesforce Introduction
 
Salesforce Basic Development
Salesforce Basic DevelopmentSalesforce Basic Development
Salesforce Basic Development
 
Introduction to Salesforce.com
Introduction to Salesforce.comIntroduction to Salesforce.com
Introduction to Salesforce.com
 
Introduction to Salesforce | Salesforce Tutorial for Beginners | Salesforce T...
Introduction to Salesforce | Salesforce Tutorial for Beginners | Salesforce T...Introduction to Salesforce | Salesforce Tutorial for Beginners | Salesforce T...
Introduction to Salesforce | Salesforce Tutorial for Beginners | Salesforce T...
 
Integrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS ConnectIntegrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS Connect
 
Classic vs. lightning
Classic vs. lightningClassic vs. lightning
Classic vs. lightning
 
Amazon Echo
Amazon EchoAmazon Echo
Amazon Echo
 
Ivan Gubynskyy Salesforce CRM and Platform Overview
Ivan Gubynskyy Salesforce CRM and Platform OverviewIvan Gubynskyy Salesforce CRM and Platform Overview
Ivan Gubynskyy Salesforce CRM and Platform Overview
 
Integration using Salesforce Canvas
Integration using Salesforce CanvasIntegration using Salesforce Canvas
Integration using Salesforce Canvas
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
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
 

Similar to Building Mobile Apps Using Salesforce Geolocation Features

Release Winter 22 FR
Release Winter 22 FRRelease Winter 22 FR
Release Winter 22 FR
Thierry TROUIN ☁
 

Similar to Building Mobile Apps Using Salesforce Geolocation Features (20)

Create a Hybrid Mobile App With the Salesforce Mobile SDK
Create a Hybrid Mobile App With the Salesforce Mobile SDKCreate a Hybrid Mobile App With the Salesforce Mobile SDK
Create a Hybrid Mobile App With the Salesforce Mobile SDK
 
Blue Clover Devices: The IoT ODM
Blue Clover Devices:  The IoT ODMBlue Clover Devices:  The IoT ODM
Blue Clover Devices: The IoT ODM
 
Salesforce Learning Journey - Partner Guide to Credentials.pdf
Salesforce Learning Journey - Partner Guide to Credentials.pdfSalesforce Learning Journey - Partner Guide to Credentials.pdf
Salesforce Learning Journey - Partner Guide to Credentials.pdf
 
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIsDreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
 
Salesforce Backup, Restore & Archiving- Adam Best, Senior Program Architect
Salesforce Backup, Restore & Archiving- Adam Best, Senior Program ArchitectSalesforce Backup, Restore & Archiving- Adam Best, Senior Program Architect
Salesforce Backup, Restore & Archiving- Adam Best, Senior Program Architect
 
Bootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDX
Bootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDXBootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDX
Bootstrapping DX in Your Enterprise - AutoRABIT at TrailheaDX
 
Data hero dream ole19
Data hero dream ole19Data hero dream ole19
Data hero dream ole19
 
Release Winter 22 FR
Release Winter 22 FRRelease Winter 22 FR
Release Winter 22 FR
 
Winter 22 release
Winter 22 releaseWinter 22 release
Winter 22 release
 
Known and unknown Salesforce Marketing Cloud limitations… and some workaround...
Known and unknown Salesforce Marketing Cloud limitations… and some workaround...Known and unknown Salesforce Marketing Cloud limitations… and some workaround...
Known and unknown Salesforce Marketing Cloud limitations… and some workaround...
 
Integrating Back Office Applications and Data With Salesforce.com
Integrating Back Office Applications and Data With Salesforce.comIntegrating Back Office Applications and Data With Salesforce.com
Integrating Back Office Applications and Data With Salesforce.com
 
#ImpactSalesforceSaturday: Prepare for Salesforce Certified Heroku Architectu...
#ImpactSalesforceSaturday: Prepare for Salesforce Certified Heroku Architectu...#ImpactSalesforceSaturday: Prepare for Salesforce Certified Heroku Architectu...
#ImpactSalesforceSaturday: Prepare for Salesforce Certified Heroku Architectu...
 
Adding Chatter to On-Premise Applications
Adding Chatter to On-Premise ApplicationsAdding Chatter to On-Premise Applications
Adding Chatter to On-Premise Applications
 
Bangkok Admin Group TrailheaDX 2020 Global Gathering v2
Bangkok Admin Group TrailheaDX 2020 Global Gathering v2Bangkok Admin Group TrailheaDX 2020 Global Gathering v2
Bangkok Admin Group TrailheaDX 2020 Global Gathering v2
 
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
 
WT19: An Amazing Lightning Transition in Review
WT19: An Amazing Lightning Transition in ReviewWT19: An Amazing Lightning Transition in Review
WT19: An Amazing Lightning Transition in Review
 
Salesforce Tour Paris - Platform Events - Martin Lezer
Salesforce Tour Paris - Platform Events - Martin LezerSalesforce Tour Paris - Platform Events - Martin Lezer
Salesforce Tour Paris - Platform Events - Martin Lezer
 
Introduction to lightning out df16
Introduction to lightning out   df16Introduction to lightning out   df16
Introduction to lightning out df16
 
Salesforce Partner Forum: The Internet of Things Opportunity
Salesforce Partner Forum: The Internet of Things OpportunitySalesforce Partner Forum: The Internet of Things Opportunity
Salesforce Partner Forum: The Internet of Things Opportunity
 
#virtualdreamin CTA Journey - Presentation Framework
#virtualdreamin CTA Journey - Presentation Framework#virtualdreamin CTA Journey - Presentation Framework
#virtualdreamin CTA Journey - Presentation Framework
 

More from Salesforce Developers

More from Salesforce Developers (20)

Maximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component PerformanceMaximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component Performance
 
Local development with Open Source Base Components
Local development with Open Source Base ComponentsLocal development with Open Source Base Components
Local development with Open Source Base Components
 
TrailheaDX India : Developer Highlights
TrailheaDX India : Developer HighlightsTrailheaDX India : Developer Highlights
TrailheaDX India : Developer Highlights
 
Why developers shouldn’t miss TrailheaDX India
Why developers shouldn’t miss TrailheaDX IndiaWhy developers shouldn’t miss TrailheaDX India
Why developers shouldn’t miss TrailheaDX India
 
CodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local DevelopmentCodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local Development
 
CodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web ComponentsCodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web Components
 
Enterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web ComponentsEnterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web Components
 
TrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer HighlightsTrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer Highlights
 
Live coding with LWC
Live coding with LWCLive coding with LWC
Live coding with LWC
 
Lightning web components - Episode 4 : Security and Testing
Lightning web components  - Episode 4 : Security and TestingLightning web components  - Episode 4 : Security and Testing
Lightning web components - Episode 4 : Security and Testing
 
LWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura InteroperabilityLWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura Interoperability
 
Lightning web components episode 2- work with salesforce data
Lightning web components   episode 2- work with salesforce dataLightning web components   episode 2- work with salesforce data
Lightning web components episode 2- work with salesforce data
 
Lightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An IntroductionLightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An Introduction
 
Migrating CPQ to Advanced Calculator and JSQCP
Migrating CPQ to Advanced Calculator and JSQCPMigrating CPQ to Advanced Calculator and JSQCP
Migrating CPQ to Advanced Calculator and JSQCP
 
Scale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in SalesforceScale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in Salesforce
 
Replicate Salesforce Data in Real Time with Change Data Capture
Replicate Salesforce Data in Real Time with Change Data CaptureReplicate Salesforce Data in Real Time with Change Data Capture
Replicate Salesforce Data in Real Time with Change Data Capture
 
Modern Development with Salesforce DX
Modern Development with Salesforce DXModern Development with Salesforce DX
Modern Development with Salesforce DX
 
Get Into Lightning Flow Development
Get Into Lightning Flow DevelopmentGet Into Lightning Flow Development
Get Into Lightning Flow Development
 
Introduction to MuleSoft
Introduction to MuleSoftIntroduction to MuleSoft
Introduction to MuleSoft
 
Modern App Dev: Modular Development Strategies
Modern App Dev: Modular Development StrategiesModern App Dev: Modular Development Strategies
Modern App Dev: Modular Development Strategies
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Building Mobile Apps Using Salesforce Geolocation Features

  • 1. Building mobile apps using Salesforce geolocation features Christopher Barrett, DDR Corp, Senior Manager of Business Applications @DDR_IT_CBarrett Benjamin Pirih, NTT Centerstance, Senior Consultant @BenjaminPirih
  • 2. Salesforce 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. DDR Corp. Safe harbor DDR considers portions of the information in this presentation to be forward-looking statements within the meaning of Section 27A of the Securities Act of 1933 and Section 21E of the Securities Exchange Act of 1934, both as amended, with respect to the Company's expectation for future periods. Although the Company believes that the expectations reflected in such forward-looking statements are based upon reasonable assumptions, it can give no assurance that its expectations will be achieved. For this purpose, any statements contained herein that are not historical fact may be deemed to be forward-looking statements. There are a number of important factors that could cause our results to differ materially from those indicated by such forward-looking statements, including, among other factors, local conditions such as oversupply of space or a reduction in demand for real estate in the area; competition from other available space; dependence on rental income from real property; the loss of, significant downsizing of or bankruptcy of a major tenant; constructing properties or expansions that produce a desired yield on investment; our ability to buy or sell assets on commercially reasonable terms; our ability to complete acquisitions or dispositions of assets under contract; our ability to secure equity or debt financing on commercially acceptable terms or at all; our ability to enter into definitive agreements with regard to our financing and joint venture arrangements or our failure to satisfy conditions to the completion of these arrangements; and the success of our capital recycling strategy. For additional factors that could cause the results of the Company to differ materially from those indicated in the forward-looking statements, please refer to the Company's Form 10-K for the year ended December 31, 2012, as amended. The Company undertakes no obligation to publicly revise these forward-looking statements to reflect events or circumstances that arise after the date hereof.
  • 4. Christopher Barrett DDR Corp Senior Manager of Business Applications @DDR_IT_CBarrett
  • 5. All about DDR Corp. DDR Corp. owns and manages approximately 440 retail properties in the continental United States, Puerto Rico and Brazil. Our prime portfolio primarily features open-air, valueoriented shopping centers in high barrier-to-entry markets with stable populations and high growth potential. ▪ DDR Corp. aspires to be the most admired provider of retail destinations and the first consideration for retailers, investors, partners and employees. ▪ The company is publicly traded on the New York Stock Exchange under the symbol DDR. More information: http://www.ddr.com
  • 6. Benjamin Pirih NTT Centerstance Senior Consultant @BenjaminPirih
  • 7. All about NTT Centerstance NTT Centerstance is a consulting company specializing in business transformation through process improvement and application of cloud technologies. ▪ Platinum Cloud Alliance Partner with salesforce.com with one of the highest customer satisfaction ratings ▪ Ranked in top ten "Best of the Best" professional services firms by SPI research two years running ▪ 110+ employees with extensive management consulting, technology and business process experience More information http://www.nttcenterstance.com
  • 8. Geolocation for DDR We use this technology to enhance our mobile applications: ▪ AdvancedSearch • Visualize DDR shopping center locations • Display locations of nearby DDR shopping centers • Search and display locations of nearby retailers ▪ LocationPicker • Better manage our portfolio of shopping centers through geolocation tagging of shopping center incident locations
  • 9. Geolocation in Salesforce How to store geolocation information ▪ Before winter 13 release stored latitude and longitude as text fields • Consumed two fields • No location-based searching ▪ Winter 13 release created new geolocation field type • Compound field that contains both latitude and longitude • Supports Degree or Decimal notation • WITHIN operator for list views based on location • Location-based search on Salesforce objects using Distance and Geolocation
  • 10. Technology Overview The following technologies were used in our applications: ▪ Visualforce and Apex ▪ SOQL Geolocation functions ▪ Visualforce Javascript remoting ▪ Google Maps Javascript API v3 ▪ Google Static Maps API v2 ▪ Google Places API ▪ jQuery
  • 11. Demo - Visualize DDR shopping center locations
  • 12. Query Geolocation Fields Perform SOQL query to return location based information ▪ New query syntax
  • 13. Shopping Center Visualization Implementation Apex Controller retrieved location information via SOQL query Defined public property for our result in visualforce controller class JSON Encoded query
  • 14. Shopping Center Visualization Implementation In Javascript render a Google Maps Marker
  • 15. Demo - Display locations of nearby DDR shopping centers
  • 16. Visualize Nearby Shopping Centers How did we search for nearby centers? ▪ Winter 13 Supports the Distance and Geolocation SOQL Functions • Distance Function calculates the distance between two locations in miles or kilometers • Geolocation Function returns a location based on the provided latitude and longitude – Must be used with Distance Function
  • 17. Performing Distance Based Query Use SOQL to construct query
  • 18. Google Places Search vs. Salesforce Location Query Ability to search and display locations of nearby retailers ▪ Used Google Places API to retrieve business information • No way to filter results for specific business types • Results were misleading / incorrect • Usage limits ▪ Create custom Salesforce object to mange retailer location information • Allowed complete control over search results • Can filter based on object fields in SOQL • Location-based search on Salesforce objects
  • 19. Demo - Search and display locations of nearby retailers
  • 20. Google Places Search vs. Salesforce Location Query Calling Google Places ▪ Used Google Places API Rest to access retailer information
  • 21. Google Places Search vs. Salesforce Location Query Calling Salesforce geolocation Query
  • 22. Incident Management Using Geolocation DDR wanted to better manage Shopping Center Incidents ▪ Constructed a custom object to store incident information ▪ Used Google Maps to plot incident locations and store in Salesforce ▪ Developed the capability to capture static map images
  • 23. Demo – LocationPicker for Incident Management
  • 24. Incident Management Using Geolocation Define a method with the @Remote Action attribute in Controller Perform Javascript Remoting call to Apex Method
  • 25. Incident Management Static Maps API Usage Retrieve Incidents and construct URL to Google Static Maps API
  • 26. Incident Management Static Maps API Usage Make HTTP Request and Return Image Result
  • 27. Incident Management Static Maps API Usage Save Http Result Blob as Attachment
  • 28. Conclusion 1. Demonstrated DDR’s business benefits from the usage of native geolocation functionality. 2. Demonstrated real world mobile applications showcasing native geolocation functionality. 3. Explained the core technologies and methodologies used when working with geolocation fields. We would encourage you to develop applications using this technology.