SlideShare une entreprise Scribd logo
1  sur  30
Télécharger pour lire hors ligne
Salesforce Console Deep Dive
Salesforce Console for Sales & Service
Chad Kelly, Salesforce.com, Technical Solution Architect
@chadforce
Clement Tussiot, Salesforce.com, Senior Solution Architect
@ctussiot
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.
Chad Kelly
Technical Solution Architect
@chadforce
Clemont Tussiot
Senior Solution Architect
@ctussiot
Agenda
Salesforce Console Framework
Integration Capabilities and Architecture
UI integration Patterns
▪ Salesforce Console Integration Toolkit
▪ Use Cases, Demonstrations and Code Examples

Q&A
World’s #1 Customer Service Application

Social
Profile

Agent
Console

Phone

Email

Chat

Web SelfService

Knowledge
Base

Social
Channels

Communities

Analytics

Partners
Leveraged Web Technologies

Force .com Canvas

Aura UI
Salesforce Console Architecture
App Header & Global Search
Highlight Panel / Workspace Component
Header Component

Pinned
List

Left
Sideb
ar

Left
Sideb
ar

Detail Record

Right
Sideb
ar

Detail Footer Component
Highlight Panel / Workspace Component
Footer / Bottom Bar

Right
Sideb
ar
Salesforce Console Architecture
App Header & Global Search
Highlight Panel / Workspace Component
Header Component

Pinned List

Left
Sideb
ar

Left
Sideb
ar

Detail Record

Right
Sideb
ar

Detail Footer Component
Highlight Panel / Workspace Component
Footer / Bottom Bar

Right
Sideb
ar
Configuring Custom Console Components
Standard
Objects

Reports/
Dashboards
Visualforce

Open CTI

Custom
Objects

Live Agent

3rd Party web
pages/ web tabs

Canvas Apps

Chatter

Standard
Components

Salesforce Console Integration Toolkit

Component Framework – Primary Tabs, Subtabs, Navigation Tab, Footer, Sidebar Components

Keyboard Shortcuts, Push
Notifications

Salesforce Console Integration Capabilities
Out of the Box UI Integration Patterns
Approach

Pros

Cons

Push Notifications

• Managed via Configuration
• Can subscribe by object/field

• 10K events in a given 24 hours
governor
UI Integration Patterns
Approach

Pros

Cons

OOB Refresh of Custom Console
Components

• No coding of refresh required
• No add’l coding required to
reinstantiate page
• Fast performance

• Refresh only triggered on save
of detail record
• Complete re-execution of page
controller constructor logic and
page render
UI Integration Patterns

Approach

Pros

Cons

Salesforce database persistence

• Easy to Code
• Data persists forever

• Record Storage Required
• Presentation on another screen
requires DML query
UI Integration Patterns
Approach

Pros

Cons

Canvas App Events

• Lightweight eventing model
based entirely in JavaScript
using JSON
• Events are localized to the
browser
• Allows your apps to talk to
other apps in an easy way
• Authentication approach
available via secure Connected
Apps framework

• Events are only sent in
browser, so they do not work
with apps off the page you are
viewing

Canvas Events provide a
javascript based way to send and
receive events using a pub/sub
pattern

• Parsing payload (e.g. JSON) is
done by the app, not by canvas
• Events are async, so you could
not guarantee execution order
(though you could chain event
by saying the result from event
1 fires event 2, etc...)
Salesforce Console Integration Toolkit
▪ What is the Salesforce Console Integration Toolkit?
▪ Why is it cool?
▪ What does it do?
What Does it Do?

Primary Tabs and
Subtabs

Computer-Telephony
Integration

Communication b/t
components

openPrimaryTab()

sendCTIEvent()

fireEvent()
addEventListener()
Integration Toolkit Customer Use Cases
Challenge The solution must render a custom screen pop with
several sub tabs
Solution Use the salesforce console integration toolkit
openPrimaryTab() method to launch one primary tab and use the
openSubTab() method to launch one or many sub tabs within that
console
Integration Toolkit Customer Use Cases
Challenge The solution must uniquely identify the content by setting
the tab title dynamically
Solution Use the Salesforce console integration toolkit
setTabTitle() method to customize the title
Integration Toolkit Customer Use Cases
Challenge The solution must prevent the user from closing a
Salesforce Console tab when processing within the tab
Solution Use the Salesforce Console integration toolkit
setTabUnsavedChanges() method to flag the tab as dirty while the
user is processing
UI Integration Patterns
Approach

Pros

Cons

fire event / add event listener
(pub/sub)

• Based on a library tested across
multiple browser versions

• Receiving page must be open

• Multiple listeners can process a
given event
• No Record Storage Required
• Does not require full receiving
Visualforce page refresh

• If multiple receiving pages are
open state logic must be
implemented
• Does not persist once page is
closed
Integration Toolkit Customer Use Cases
Challenge The solution should allow the agent to easily associate
activities to only Contact records viewed upon handling a call
Solution Use the Salesforce console integration toolkit fireEvent()
method to publish Contact details upon Contact(s) being viewed and
addEventListener() on the activity logging page to build a SelectList
Integration Toolkit Customer Use Cases
Challenge When a change is made in one area of the application
the solution must automatically refresh other area(s) of the solution
Solution Use the Salesforce console integration toolkit fireEvent()
method to publish a request triggered by the desired behavior and
addEventListener() to refresh the target component(s)
Bringing External Apps into the Salesforce Console
Can you customize your external
app?
Does your external application
work when framed?

Parameter passing
www.bing.com/search?q={!case.subject}
Gotchas
No initial type check on Javascript upon saving
Test on multiple browsers
Use alerts e.g. alert(’is this working?');
Don’t forget to include the resource in your visualforce page and mind
the API version <apex:includeScript value="/support/console/28.0/integration.
js"/>

Leverage Google Chrome developer tools to debug javascript
▪ Ctrl + Shift + I (Mac: ⌥⌘I) keys to open
UI Integration Patterns
Approach

Pros

Cons

Browser Session storage
persistence

• Fast (No server script)
• No Record Storage Required

• Requires logic to manage state
to determine which primary tab
is applicable

• Does not require receiving page
to be open

• Persists globally regardless of
page close
Standard
Objects

Reports/
Dashboards
Visualforce

Open CTI

Custom
Objects

Live Agent

3rd Party web
pages/ web tabs

Canvas Apps

Chatter

Standard
Components

Salesforce Console Integration Toolkit

Component Framework – Primary Tabs, Subtabs, Navigation Tab, Footer, Sidebar Components

Keyboard Shortcuts, Push
Notifications

Salesforce Console Integration Capabilities
Resources
• Salesforce Console Integration Toolkit Developers Guide
http://www.salesforce.com/us/developer/docs/api_console/index.htm

• w3 Schools Javascript Reference
http://www.w3schools.com/js

• Canvas Developer Guide
http://www.salesforce.com/us/developer/docs/platform_connectpre/canvas_framework.pdf
Chad Kelly

Clement Tussiot

Speaker Title,
@twittername

Speaker Title,
@twittername
We want to hear
from YOU!
Please take a moment to complete our
session survey
Surveys can be found in the “My Agenda”
portion of the Dreamforce app
Salesforce API: Salesforce Console Deep Dive

Contenu connexe

Tendances

CPQ Solution Study
CPQ Solution StudyCPQ Solution Study
CPQ Solution Study
Demand Metric
 

Tendances (20)

SalesForce Consulting Service & Customization
SalesForce Consulting Service & CustomizationSalesForce Consulting Service & Customization
SalesForce Consulting Service & Customization
 
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
 
Salesforce Community Cloud
Salesforce Community CloudSalesforce Community Cloud
Salesforce Community Cloud
 
What Is Salesforce CRM? | Salesforce CRM Tutorial For Beginners | Salesforce ...
What Is Salesforce CRM? | Salesforce CRM Tutorial For Beginners | Salesforce ...What Is Salesforce CRM? | Salesforce CRM Tutorial For Beginners | Salesforce ...
What Is Salesforce CRM? | Salesforce CRM Tutorial For Beginners | Salesforce ...
 
Salesforce CPQ, Orders, Contracts, Amendments and Renewals
Salesforce CPQ, Orders, Contracts, Amendments and RenewalsSalesforce CPQ, Orders, Contracts, Amendments and Renewals
Salesforce CPQ, Orders, Contracts, Amendments and Renewals
 
Digital Insurance Platform - Vlocity
Digital Insurance Platform - VlocityDigital Insurance Platform - Vlocity
Digital Insurance Platform - Vlocity
 
How to Rock Your Next Presentation and Demo
How to Rock Your Next Presentation and Demo How to Rock Your Next Presentation and Demo
How to Rock Your Next Presentation and Demo
 
Introduction to the Salesforce Security Model
Introduction to the Salesforce Security ModelIntroduction to the Salesforce Security Model
Introduction to the Salesforce Security Model
 
Configure, price and quote (CPQ) platform - Right information
Configure, price and quote (CPQ) platform - Right informationConfigure, price and quote (CPQ) platform - Right information
Configure, price and quote (CPQ) platform - Right information
 
Salesforce overview
Salesforce overviewSalesforce overview
Salesforce overview
 
How to_ Salesforce CPQ_ Manage Renewals and Amendments.pdf
How to_ Salesforce CPQ_ Manage Renewals and Amendments.pdfHow to_ Salesforce CPQ_ Manage Renewals and Amendments.pdf
How to_ Salesforce CPQ_ Manage Renewals and Amendments.pdf
 
Salesforce PPT.pptx
Salesforce PPT.pptxSalesforce PPT.pptx
Salesforce PPT.pptx
 
Getting started with Salesforce security
Getting started with Salesforce securityGetting started with Salesforce security
Getting started with Salesforce security
 
Choosing the Right Demo Environment (Salesforce Partners)
Choosing the Right Demo Environment (Salesforce Partners)Choosing the Right Demo Environment (Salesforce Partners)
Choosing the Right Demo Environment (Salesforce Partners)
 
Salesforce Communities
Salesforce CommunitiesSalesforce Communities
Salesforce Communities
 
What Is Salesforce CRM, Editions, Licenses?
What Is Salesforce CRM, Editions, Licenses?What Is Salesforce CRM, Editions, Licenses?
What Is Salesforce CRM, Editions, Licenses?
 
Champion Productivity with Service Cloud
Champion Productivity with Service CloudChampion Productivity with Service Cloud
Champion Productivity with Service Cloud
 
Business Process Mapping for Salesforce Admins
Business Process Mapping for Salesforce AdminsBusiness Process Mapping for Salesforce Admins
Business Process Mapping for Salesforce Admins
 
CPQ Solution Study
CPQ Solution StudyCPQ Solution Study
CPQ Solution Study
 
Commerce Cloud 101
Commerce Cloud 101Commerce Cloud 101
Commerce Cloud 101
 

En vedette

Customizing the salesforce console with the integration toolkit mt
Customizing the salesforce console with the integration toolkit mtCustomizing the salesforce console with the integration toolkit mt
Customizing the salesforce console with the integration toolkit mt
Salesforce Developers
 
Apex triggers, force_ide_and_deployment
Apex triggers, force_ide_and_deploymentApex triggers, force_ide_and_deployment
Apex triggers, force_ide_and_deployment
subhajit0209
 
Service Cloud Console as a Platform
Service Cloud Console as a PlatformService Cloud Console as a Platform
Service Cloud Console as a Platform
Bluewolf
 

En vedette (17)

Customizing the Salesforce Console With the Integration Toolkit
Customizing the Salesforce Console With the Integration ToolkitCustomizing the Salesforce Console With the Integration Toolkit
Customizing the Salesforce Console With the Integration Toolkit
 
Salesforce.com API Series: Service Cloud Console Deep Dive
Salesforce.com API Series: Service Cloud Console Deep DiveSalesforce.com API Series: Service Cloud Console Deep Dive
Salesforce.com API Series: Service Cloud Console Deep Dive
 
Developing Salesforce Console Apps with Visualforce & the Integration Toolkit
Developing Salesforce Console Apps with Visualforce & the Integration ToolkitDeveloping Salesforce Console Apps with Visualforce & the Integration Toolkit
Developing Salesforce Console Apps with Visualforce & the Integration Toolkit
 
Customizing the salesforce console with the integration toolkit mt
Customizing the salesforce console with the integration toolkit mtCustomizing the salesforce console with the integration toolkit mt
Customizing the salesforce console with the integration toolkit mt
 
Apex triggers, force_ide_and_deployment
Apex triggers, force_ide_and_deploymentApex triggers, force_ide_and_deployment
Apex triggers, force_ide_and_deployment
 
Brainiate - Giller - About Me
Brainiate - Giller - About MeBrainiate - Giller - About Me
Brainiate - Giller - About Me
 
Exposing Salesforce REST Services Using Swagger
Exposing Salesforce REST Services Using SwaggerExposing Salesforce REST Services Using Swagger
Exposing Salesforce REST Services Using Swagger
 
Salesforce Application Lifecycle Management presented to EA Forum by Sam Garf...
Salesforce Application Lifecycle Management presented to EA Forum by Sam Garf...Salesforce Application Lifecycle Management presented to EA Forum by Sam Garf...
Salesforce Application Lifecycle Management presented to EA Forum by Sam Garf...
 
Triggers and order of execution1
Triggers and order of execution1Triggers and order of execution1
Triggers and order of execution1
 
Best Practices for Team Development in a Single Org
Best Practices for Team Development in a Single OrgBest Practices for Team Development in a Single Org
Best Practices for Team Development in a Single Org
 
Hybrid IT: The Importance of Integration to Salesforce Success
Hybrid IT: The Importance of Integration to Salesforce SuccessHybrid IT: The Importance of Integration to Salesforce Success
Hybrid IT: The Importance of Integration to Salesforce Success
 
Salesforce implementation best practices
Salesforce implementation best practicesSalesforce implementation best practices
Salesforce implementation best practices
 
The Ideal Salesforce Development Lifecycle
The Ideal Salesforce Development LifecycleThe Ideal Salesforce Development Lifecycle
The Ideal Salesforce Development Lifecycle
 
Service Cloud Console as a Platform
Service Cloud Console as a PlatformService Cloud Console as a Platform
Service Cloud Console as a Platform
 
Salesforce Winter 17 Release Overview
Salesforce Winter 17 Release OverviewSalesforce Winter 17 Release Overview
Salesforce Winter 17 Release Overview
 
Salesforce Development Best Practices
Salesforce Development Best PracticesSalesforce Development Best Practices
Salesforce Development Best Practices
 
Service Cloud : offrez un service client d’excellence
Service Cloud : offrez un service client d’excellenceService Cloud : offrez un service client d’excellence
Service Cloud : offrez un service client d’excellence
 

Similaire à Salesforce API: Salesforce Console Deep Dive

Spring '14 Release Developer Preview Webinar
Spring '14 Release Developer Preview WebinarSpring '14 Release Developer Preview Webinar
Spring '14 Release Developer Preview Webinar
Salesforce Developers
 
S-Controls for Dummies
S-Controls for DummiesS-Controls for Dummies
S-Controls for Dummies
dreamforce2006
 
S-Controls for Dummies
S-Controls for DummiesS-Controls for Dummies
S-Controls for Dummies
dreamforce2006
 

Similaire à Salesforce API: Salesforce Console Deep Dive (20)

Customizing the Salesforce Console with the Integration Toolkit (DF13)
Customizing the Salesforce Console with the Integration Toolkit (DF13)Customizing the Salesforce Console with the Integration Toolkit (DF13)
Customizing the Salesforce Console with the Integration Toolkit (DF13)
 
Best Practices for Lightning Apps
Best Practices for Lightning AppsBest Practices for Lightning Apps
Best Practices for Lightning Apps
 
Salesforce Lightning workshop
Salesforce Lightning workshopSalesforce Lightning workshop
Salesforce Lightning workshop
 
San Diego Salesforce User Group - Lightning Overview
San Diego Salesforce User Group - Lightning OverviewSan Diego Salesforce User Group - Lightning Overview
San Diego Salesforce User Group - Lightning Overview
 
Salesforce lightning design -components for CRM
Salesforce lightning design -components for CRMSalesforce lightning design -components for CRM
Salesforce lightning design -components for CRM
 
A Developer's Guide To Building Great Salesforce Consoles
A Developer's Guide To Building Great Salesforce ConsolesA Developer's Guide To Building Great Salesforce Consoles
A Developer's Guide To Building Great Salesforce Consoles
 
Suisse Romande SF DG - Lightning workshop
Suisse Romande SF DG - Lightning workshopSuisse Romande SF DG - Lightning workshop
Suisse Romande SF DG - Lightning workshop
 
Supercharge Your Salesforce Console
Supercharge Your Salesforce ConsoleSupercharge Your Salesforce Console
Supercharge Your Salesforce Console
 
Trailhead in a Box & Winter 20 Release
Trailhead in a Box & Winter 20 ReleaseTrailhead in a Box & Winter 20 Release
Trailhead in a Box & Winter 20 Release
 
Spring '14 Release Developer Preview Webinar
Spring '14 Release Developer Preview WebinarSpring '14 Release Developer Preview Webinar
Spring '14 Release Developer Preview Webinar
 
Building Visualforce Custom Events Handlers
Building Visualforce Custom Events HandlersBuilding Visualforce Custom Events Handlers
Building Visualforce Custom Events Handlers
 
Preparing for Lightning: Replacing URL Hacks with Actions
Preparing for Lightning: Replacing URL Hacks with ActionsPreparing for Lightning: Replacing URL Hacks with Actions
Preparing for Lightning: Replacing URL Hacks with Actions
 
Building Apps Faster with Lightning and Winter '17
Building Apps Faster with Lightning and Winter '17Building Apps Faster with Lightning and Winter '17
Building Apps Faster with Lightning and Winter '17
 
Building apps faster with lightning and winter '17
Building apps faster with lightning and winter '17Building apps faster with lightning and winter '17
Building apps faster with lightning and winter '17
 
Lightning week - Paris DUG
Lightning week - Paris DUGLightning week - Paris DUG
Lightning week - Paris DUG
 
Salesforce Lightning workshop Hartford - 12 March
Salesforce Lightning workshop Hartford - 12 MarchSalesforce Lightning workshop Hartford - 12 March
Salesforce Lightning workshop Hartford - 12 March
 
S-Controls for Dummies
S-Controls for DummiesS-Controls for Dummies
S-Controls for Dummies
 
S-Controls for Dummies
S-Controls for DummiesS-Controls for Dummies
S-Controls for Dummies
 
Salesforce Summer 19 Release Overview
Salesforce Summer 19 Release OverviewSalesforce Summer 19 Release Overview
Salesforce Summer 19 Release Overview
 
Coding in the App Cloud
Coding in the App CloudCoding in the App Cloud
Coding in the App Cloud
 

Plus de Salesforce Developers

Plus de Salesforce Developers (20)

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
 
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
 
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
 
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
 
Introduction to MuleSoft
Introduction to MuleSoftIntroduction to MuleSoft
Introduction to MuleSoft
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
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)
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
[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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
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...
 

Salesforce API: Salesforce Console Deep Dive

  • 1. Salesforce Console Deep Dive Salesforce Console for Sales & Service Chad Kelly, Salesforce.com, Technical Solution Architect @chadforce Clement Tussiot, Salesforce.com, Senior Solution Architect @ctussiot
  • 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. Chad Kelly Technical Solution Architect @chadforce
  • 4. Clemont Tussiot Senior Solution Architect @ctussiot
  • 5. Agenda Salesforce Console Framework Integration Capabilities and Architecture UI integration Patterns ▪ Salesforce Console Integration Toolkit ▪ Use Cases, Demonstrations and Code Examples Q&A
  • 6. World’s #1 Customer Service Application Social Profile Agent Console Phone Email Chat Web SelfService Knowledge Base Social Channels Communities Analytics Partners
  • 7. Leveraged Web Technologies Force .com Canvas Aura UI
  • 8. Salesforce Console Architecture App Header & Global Search Highlight Panel / Workspace Component Header Component Pinned List Left Sideb ar Left Sideb ar Detail Record Right Sideb ar Detail Footer Component Highlight Panel / Workspace Component Footer / Bottom Bar Right Sideb ar
  • 9. Salesforce Console Architecture App Header & Global Search Highlight Panel / Workspace Component Header Component Pinned List Left Sideb ar Left Sideb ar Detail Record Right Sideb ar Detail Footer Component Highlight Panel / Workspace Component Footer / Bottom Bar Right Sideb ar
  • 11. Standard Objects Reports/ Dashboards Visualforce Open CTI Custom Objects Live Agent 3rd Party web pages/ web tabs Canvas Apps Chatter Standard Components Salesforce Console Integration Toolkit Component Framework – Primary Tabs, Subtabs, Navigation Tab, Footer, Sidebar Components Keyboard Shortcuts, Push Notifications Salesforce Console Integration Capabilities
  • 12. Out of the Box UI Integration Patterns Approach Pros Cons Push Notifications • Managed via Configuration • Can subscribe by object/field • 10K events in a given 24 hours governor
  • 13. UI Integration Patterns Approach Pros Cons OOB Refresh of Custom Console Components • No coding of refresh required • No add’l coding required to reinstantiate page • Fast performance • Refresh only triggered on save of detail record • Complete re-execution of page controller constructor logic and page render
  • 14. UI Integration Patterns Approach Pros Cons Salesforce database persistence • Easy to Code • Data persists forever • Record Storage Required • Presentation on another screen requires DML query
  • 15. UI Integration Patterns Approach Pros Cons Canvas App Events • Lightweight eventing model based entirely in JavaScript using JSON • Events are localized to the browser • Allows your apps to talk to other apps in an easy way • Authentication approach available via secure Connected Apps framework • Events are only sent in browser, so they do not work with apps off the page you are viewing Canvas Events provide a javascript based way to send and receive events using a pub/sub pattern • Parsing payload (e.g. JSON) is done by the app, not by canvas • Events are async, so you could not guarantee execution order (though you could chain event by saying the result from event 1 fires event 2, etc...)
  • 16. Salesforce Console Integration Toolkit ▪ What is the Salesforce Console Integration Toolkit? ▪ Why is it cool? ▪ What does it do? What Does it Do? Primary Tabs and Subtabs Computer-Telephony Integration Communication b/t components openPrimaryTab() sendCTIEvent() fireEvent() addEventListener()
  • 17. Integration Toolkit Customer Use Cases Challenge The solution must render a custom screen pop with several sub tabs Solution Use the salesforce console integration toolkit openPrimaryTab() method to launch one primary tab and use the openSubTab() method to launch one or many sub tabs within that console
  • 18. Integration Toolkit Customer Use Cases Challenge The solution must uniquely identify the content by setting the tab title dynamically Solution Use the Salesforce console integration toolkit setTabTitle() method to customize the title
  • 19. Integration Toolkit Customer Use Cases Challenge The solution must prevent the user from closing a Salesforce Console tab when processing within the tab Solution Use the Salesforce Console integration toolkit setTabUnsavedChanges() method to flag the tab as dirty while the user is processing
  • 20. UI Integration Patterns Approach Pros Cons fire event / add event listener (pub/sub) • Based on a library tested across multiple browser versions • Receiving page must be open • Multiple listeners can process a given event • No Record Storage Required • Does not require full receiving Visualforce page refresh • If multiple receiving pages are open state logic must be implemented • Does not persist once page is closed
  • 21. Integration Toolkit Customer Use Cases Challenge The solution should allow the agent to easily associate activities to only Contact records viewed upon handling a call Solution Use the Salesforce console integration toolkit fireEvent() method to publish Contact details upon Contact(s) being viewed and addEventListener() on the activity logging page to build a SelectList
  • 22. Integration Toolkit Customer Use Cases Challenge When a change is made in one area of the application the solution must automatically refresh other area(s) of the solution Solution Use the Salesforce console integration toolkit fireEvent() method to publish a request triggered by the desired behavior and addEventListener() to refresh the target component(s)
  • 23. Bringing External Apps into the Salesforce Console Can you customize your external app? Does your external application work when framed? Parameter passing www.bing.com/search?q={!case.subject}
  • 24. Gotchas No initial type check on Javascript upon saving Test on multiple browsers Use alerts e.g. alert(’is this working?'); Don’t forget to include the resource in your visualforce page and mind the API version <apex:includeScript value="/support/console/28.0/integration. js"/> Leverage Google Chrome developer tools to debug javascript ▪ Ctrl + Shift + I (Mac: ⌥⌘I) keys to open
  • 25. UI Integration Patterns Approach Pros Cons Browser Session storage persistence • Fast (No server script) • No Record Storage Required • Requires logic to manage state to determine which primary tab is applicable • Does not require receiving page to be open • Persists globally regardless of page close
  • 26. Standard Objects Reports/ Dashboards Visualforce Open CTI Custom Objects Live Agent 3rd Party web pages/ web tabs Canvas Apps Chatter Standard Components Salesforce Console Integration Toolkit Component Framework – Primary Tabs, Subtabs, Navigation Tab, Footer, Sidebar Components Keyboard Shortcuts, Push Notifications Salesforce Console Integration Capabilities
  • 27. Resources • Salesforce Console Integration Toolkit Developers Guide http://www.salesforce.com/us/developer/docs/api_console/index.htm • w3 Schools Javascript Reference http://www.w3schools.com/js • Canvas Developer Guide http://www.salesforce.com/us/developer/docs/platform_connectpre/canvas_framework.pdf
  • 28. Chad Kelly Clement Tussiot Speaker Title, @twittername Speaker Title, @twittername
  • 29. We want to hear from YOU! Please take a moment to complete our session survey Surveys can be found in the “My Agenda” portion of the Dreamforce app