Transcript
Page 1: Prospect Finder in Salesforce Mobile

Prospect Finder in Salesforce1

Adi Kantipudi Salesforce Architect & Developer Valpak (Cox Target Media) [email protected]

Page 2: Prospect Finder in Salesforce Mobile

 Leading direct marketing company

 170 franchises, 500 sales reps

 Division of Cox Media Group

 20 years IT, ERP and database application experience

 4 years of experience with Salesforce

Introduction

Page 3: Prospect Finder in Salesforce Mobile

Use Case

 Valpak sales reps seek local businesses around any geographic location, so they can find potential prospects.

 Sales reps prefer to have the business address, phone number and other details before approaching a new prospect.

Page 4: Prospect Finder in Salesforce Mobile

Prospect Finder

 Prospect Finder is an application that allows the salesforce find leads, prospects and businesses in real time at any location

Page 5: Prospect Finder in Salesforce Mobile

What You’ll Learn

How to create a GPS-enabled mobile application using the Salesforce1 platform. This session will cover Visualforce pages, REST Services with Apex and Mobile Configuration.

Page 6: Prospect Finder in Salesforce Mobile

What You’ll Learn

Salesforce1 and GPS enabled 

Visualforce pages are developed to optimize for mobile 

Apex Technology uses REST Services to Geo Coding Services and Google Places Services 

Integrated with Salesforce leads and Dupe Alerts 

GPS current location enables application to view businesses around location and/or given address

Page 7: Prospect Finder in Salesforce Mobile

Steps

1. Create Visualforce page

2. Create custom tab with Visualforce page

3. Set up the tab in Salesforce mobile configuration

4. Give authorizations to the required user profiles

5. Login to Salesforce1 mobile and enjoy!

Page 8: Prospect Finder in Salesforce Mobile

Step 1 Create a Visualforce Page

Page 9: Prospect Finder in Salesforce Mobile

 Create Custom Visualforce Page with Custom Controller

 (Setup->Develop->Pages-> New )

 Use Java Script Navigator Geolocation as default call to find the current Location in

Page

navigator.geolocation.getCurrentPosition(success, error);

 Check Available for Salesforce Mobile

 (Setup->Develop->Pages-> Edit Page)

Create Custom Visualforce Page with Custom Controller

Use Java Script Navigator Geolocation

Check Available for Salesforce Mobile

1. Create a Visualforce Page

Page 10: Prospect Finder in Salesforce Mobile

Create Custom Controller Class Use REST Service See Current Location

1. Create a Visualforce Page

 Use REST Service to Map Quest to Reverse looks up Latitude and Longitude Address

Page 11: Prospect Finder in Salesforce Mobile

  Use REST Service to Google Places with Current Geo Location and Radius

  Provide the List with Visualforce Responsive Design (Use Apex repeat Tag )

  Show Graphic for New Leads (Use Apex image Tag )

1. Create a Visualforce Page

Page 12: Prospect Finder in Salesforce Mobile

Step 2 Create a Custom Tab

Page 13: Prospect Finder in Salesforce Mobile

2. Create a Custom Tab

 Create Custom Tab with Visualforce Page (Setup->Create->Tabs Visualforce Tabs -> New )

Page 14: Prospect Finder in Salesforce Mobile

Step 3 Setup Mobile Accessibility

Page 15: Prospect Finder in Salesforce Mobile

 Add Prospect Finder Tab from Available tabs to Selected tabs. (Setup->Mobile Administration> Mobile Navigation)

Add Prospect Finder Tab from ‘Available’ tabs to ‘Selected’ tabs

Arrange the order of the tab in ‘Selected’ tabs box

3. Setup Mobile Accessibility

Page 16: Prospect Finder in Salesforce Mobile

Step 4 Authorize User Profiles

Page 17: Prospect Finder in Salesforce Mobile

 Enable Tab in Tab Setting in Profile (Setup->Manage users> Profiles)

 Add Custom Controller class in ‘Enables Apex Class Access’ section in Profile

 Add Visualforce Page in ‘Enables Visualforce Page Access’ section in Profile

Enable Tab in Tab Setting in Profile Add Custom Controller Class Add Visualforce Page

4. Authorize User Profiles

Page 18: Prospect Finder in Salesforce Mobile

Step 5 Log into Salesforce1

Page 19: Prospect Finder in Salesforce Mobile

5. Login to Salesforce1

 Login to Salesforce1 and select Prospect Finder App in Menu bar

Page 20: Prospect Finder in Salesforce Mobile

Technology

  MapQuest API

  Google Places API

  REST Service

  Java Script

  Salesforce1

  Visualforce

  Apex

Page 21: Prospect Finder in Salesforce Mobile

Demo Prospect Finder

Page 22: Prospect Finder in Salesforce Mobile

Let’s Recap  Steps for Prospect Finder

1.  Create a Visualforce Page

2.  Create a Custom Tab with Visualforce Page

3.  Setup the Custom Tab in Salesforce Mobile configuration

4.  Give Authorizations to the Required User Profiles

5.  Login to Salesforce1 Mobile and Enjoy!

Page 23: Prospect Finder in Salesforce Mobile

Questions?

Page 24: Prospect Finder in Salesforce Mobile

Thank you


Recommended