SlideShare a Scribd company logo
1 of 21
Force.com Canvas 
Admin-Approved, User-Approved, and Personal Apps Unlocked 
Jay Hurst 
Senior Product Manager, salesforce.com 
@extraidea 
Kari Hotchkiss 
Senior Quality Engineer, salesforce.com 
@karihotchkiss
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 andcustomer 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.
Jay Hurst 
Senior Product Manager
Kari Hotchkiss 
Senior Quality Engineer
Managing your Canvas Applications 
• Determining which type of Canvas App 
management to use can be an important decision 
– How many of you have installed and managed a Canvas 
App or Connected App in your Organizations before? 
– How many have wished that they could roll out applications 
to their users with less Administrative management? 
– How many would like to learn about Personal Canvas 
Apps?
Types of Canvas Apps 
When do I choose which, and why?
Different Types of Canvas App 
• There are three different types of Canvas Apps 
– Admin Approved 
– End User Approved 
– Personal Canvas Apps 
• Each type requires a different setup on the Developer side, and a different 
management from the Administrator side 
• The app choice drives: 
– User experience with the approval screen 
– Admin experience with the management 
– Developer decision tree when the Canvas App Loads 
• A Canvas App can support one or more of the types
Admin-Approved Canvas Apps 
• This option allows the administrator to specify which users can use the app 
– The admin is pre-approving specific users for the app 
• Admin selects specific users by approving Profiles and Permission Sets for the app 
– The Canvas App will always receive an HTTP POST from salesforce.com 
• POST contains the signed request and other app information 
• The Canvas App can instantly return the correct content to the end user 
• The end user will never see an Accept/Deny screen 
– Any user without admin approved access who tries to load the app will see an error
User-Approved Canvas Apps 
• This option allows the end users to approve or deny access to the app 
– The admin still must install or create the Canvas App 
– If the app has not been approved by the user, the app will receive an HTTP GET from 
salesforce.com 
• GET will contain a URL parameter “_sfdc_canvas_authvalu with a value of “user_approval_required” 
– Canvas App must detect this and push the user into an OAuth flow to approve the app 
• Once the app has been approved, the app can use the Canvas JavaScript SDK to: 
– getContext() – Returns the app context 
– refreshSignedRequest() – Returns the signed request through JavaScript 
– repost() – Does a new POST of the signed request to your app 
– The end user will see an Accept/Deny screen if 
• The app has never been approved 
• The access has been revoked or expired 
– If the user denies access, the Canvas App must handle the error messaging to the end user
Canvas Personal Apps 
• This option allows the end users to install the Canvas App into the org 
– Only the Canvas specific metadata information is installed 
• The admin can choose to not allow this for the org 
• The admin can later install the full app and turn it into a Admin-Approved or User-Approved App 
– The user must discover the app and be taken into the standard OAuth Approve/Deny flow 
• Approving the app will kick off the install process 
– If the app has been installed already, the user is granted access 
– The app will only appear on the Chatter Tab location 
• If the access is revoked to the app, it will be removed from the Chatter Tab 
– The Canvas App must detect that it is a personal app 
• The signed request will contain information that app is a personal app 
• Canvas App can determine which content to display
Which App Should I Choose? 
Decision is based on what the Canvas App is used for, and what the need is 
Canvas App Feature 
Admin- 
Approved 
User- 
Approved 
Canvas 
Personal App 
Admin Installs Canvas App P P 
Admin Selects which Users can use the App P 
End User sees Approve/Deny Flow P P 
Can be Installed by an End User P 
Canvas App Handles Auth Flow and Errors P P 
Can be used in a PE/GE org P P 
Non-Canvas Metadata in Package Included in Install P P
Developing Different App Types
Admin-Approved Flow 
• User opens Canvas App 
• Salesforce determines if user has access 
– If no access, access error thrown 
• Salesforce generates signed request 
– JSON is base64 encoded 
– HMAC-SHA256 with the canvas consumer secret used to generate a key 
– Key and base64sting are combined and sent as a POST 
• Canvas App accepts the POST 
– HMAC-SHA256 with the canvas consumer secret used to generate a key 
– Key is compared to the key sent in signed request 
• Canvas App chooses to display content
Demo 
Admin-Approved Apps
User-Approved Flow 
• User opens Canvas App 
• Salesforce determines if user has previously approved 
• If not previously approved salesforce does a GET with URL parameter 
– Canvas App accepts the GET and then pushes the user through an OAuth flow 
• If the user denies the access Canvas App displays error 
– Once app is approved, Canvas app issues getContext, refreshSignedRequest, or repost 
• If previously approves, salesforce generates signed request and does a POST 
– Canvas App accepts the POST 
• Canvas App chooses to display content
Demo 
User- Approved Apps
User-Approved Flow 
• User discovers the app and clicks a link to get the app 
– Link is hosted somewhere by the Canvas App 
– Link goes to the standard OAuth Flow 
• If the app is not installed, the canvas metadata is installed 
– User gets an email when install is complete 
• If the app is installed approval is completed 
• User goes to the Chatter Tab 
– If there is an app installed, and the user has approved, the app will appear in the Chatter list 
• User opens the Canvas App 
– Salesforce generates signed request and does a POST 
– Canvas App accepts the POST 
• Canvas App chooses to display content
Demo 
Canvas Personal Apps
Wrapup/What Have We Learned? 
• Today we learned the different types of Canvas Apps 
– What types of Canvas Apps can you create 
– What are the differences between the app types 
– When should I use which pp type 
• We also walked through the code and flows of the different app types 
– Admin-Approved 
– User-Approved 
– Canvas Personal Apps
Q&A
Surface Your Existing Force.com Canvas App in the Salesforce1 Mobile App

More Related Content

Viewers also liked

Viewers also liked (10)

Together: An app to foster community for young urbanites
Together: An app to foster community for young urbanitesTogether: An app to foster community for young urbanites
Together: An app to foster community for young urbanites
 
MMSS 2015 - Mobile App Strategy and App Store Optimization (ASO)
MMSS 2015 - Mobile App Strategy and App Store Optimization (ASO)MMSS 2015 - Mobile App Strategy and App Store Optimization (ASO)
MMSS 2015 - Mobile App Strategy and App Store Optimization (ASO)
 
Mobile app promotion strategy
Mobile app promotion strategyMobile app promotion strategy
Mobile app promotion strategy
 
What is your Mobile App Strategy?
What is your Mobile App Strategy?What is your Mobile App Strategy?
What is your Mobile App Strategy?
 
How To Build The Ultimate Go-To-Market Strategy For Your App
How To Build The Ultimate Go-To-Market Strategy For Your AppHow To Build The Ultimate Go-To-Market Strategy For Your App
How To Build The Ultimate Go-To-Market Strategy For Your App
 
Developing a Modern Mobile App Strategy
Developing a Modern Mobile App StrategyDeveloping a Modern Mobile App Strategy
Developing a Modern Mobile App Strategy
 
Mobile App Digital Marketing Strategy Example
Mobile App Digital Marketing Strategy ExampleMobile App Digital Marketing Strategy Example
Mobile App Digital Marketing Strategy Example
 
Design Thinking and the Business Model Canvas for the Mobile Economy
Design Thinking and the Business Model Canvas for the Mobile EconomyDesign Thinking and the Business Model Canvas for the Mobile Economy
Design Thinking and the Business Model Canvas for the Mobile Economy
 
Developing a Progressive Mobile Strategy
Developing a Progressive Mobile StrategyDeveloping a Progressive Mobile Strategy
Developing a Progressive Mobile Strategy
 
Big Brand Strategies for Mobile App Marketing
Big Brand Strategies for Mobile App MarketingBig Brand Strategies for Mobile App Marketing
Big Brand Strategies for Mobile App Marketing
 

Similar to Surface Your Existing Force.com Canvas App in the Salesforce1 Mobile App

Force.com Canvas: Salesforce1, SAML, & Apex...Oh My!
Force.com Canvas: Salesforce1, SAML, & Apex...Oh My!Force.com Canvas: Salesforce1, SAML, & Apex...Oh My!
Force.com Canvas: Salesforce1, SAML, & Apex...Oh My!
Salesforce Developers
 
Angel Pilots Program_FInal Assignment
Angel Pilots Program_FInal AssignmentAngel Pilots Program_FInal Assignment
Angel Pilots Program_FInal Assignment
Gagan Marwah
 

Similar to Surface Your Existing Force.com Canvas App in the Salesforce1 Mobile App (20)

Integration using Salesforce Canvas
Integration using Salesforce CanvasIntegration using Salesforce Canvas
Integration using Salesforce Canvas
 
Seamless Authentication with Force.com Canvas
Seamless Authentication with Force.com CanvasSeamless Authentication with Force.com Canvas
Seamless Authentication with Force.com Canvas
 
Publishing Your First Paid App on AppExchange: The Inside Scoop
Publishing Your First Paid App on AppExchange: The Inside ScoopPublishing Your First Paid App on AppExchange: The Inside Scoop
Publishing Your First Paid App on AppExchange: The Inside Scoop
 
Force.com Canvas: Salesforce1, SAML, & Apex...Oh My!
Force.com Canvas: Salesforce1, SAML, & Apex...Oh My!Force.com Canvas: Salesforce1, SAML, & Apex...Oh My!
Force.com Canvas: Salesforce1, SAML, & Apex...Oh My!
 
Launching an App on AppExchange - Knowing the Unknown
Launching an App on AppExchange - Knowing the UnknownLaunching an App on AppExchange - Knowing the Unknown
Launching an App on AppExchange - Knowing the Unknown
 
Tech Enablement Webinar for ISVs (March 16, 2017)
Tech Enablement Webinar for ISVs (March 16, 2017)Tech Enablement Webinar for ISVs (March 16, 2017)
Tech Enablement Webinar for ISVs (March 16, 2017)
 
Create a Force.com-Powered Facebook App on Heroku
Create a Force.com-Powered Facebook App on HerokuCreate a Force.com-Powered Facebook App on Heroku
Create a Force.com-Powered Facebook App on Heroku
 
Force.com Canvas in the Publisher and Chatter Feed
Force.com Canvas in the Publisher and Chatter FeedForce.com Canvas in the Publisher and Chatter Feed
Force.com Canvas in the Publisher and Chatter Feed
 
Creating an app on Ribily Part 3 flow creation
Creating an app on Ribily Part 3 flow creationCreating an app on Ribily Part 3 flow creation
Creating an app on Ribily Part 3 flow creation
 
Creating an app on Ribily Part 3 - flow creation
Creating an app on Ribily Part 3 - flow creationCreating an app on Ribily Part 3 - flow creation
Creating an app on Ribily Part 3 - flow creation
 
Questions to ask before selecting a mobile app development company
Questions to ask before selecting a mobile app development company Questions to ask before selecting a mobile app development company
Questions to ask before selecting a mobile app development company
 
How Much Does It Cost To Build A Pickup and Delivery App In 2023?
How Much Does It Cost To Build A Pickup and Delivery App In 2023?How Much Does It Cost To Build A Pickup and Delivery App In 2023?
How Much Does It Cost To Build A Pickup and Delivery App In 2023?
 
On demand home service app- features and cost
On demand home service app- features and costOn demand home service app- features and cost
On demand home service app- features and cost
 
ShepHertz Cloud Ecosystem for Apps
ShepHertz Cloud Ecosystem for AppsShepHertz Cloud Ecosystem for Apps
ShepHertz Cloud Ecosystem for Apps
 
Angel Pilots Program_FInal Assignment
Angel Pilots Program_FInal AssignmentAngel Pilots Program_FInal Assignment
Angel Pilots Program_FInal Assignment
 
On demand packers and movers app
On demand packers and movers appOn demand packers and movers app
On demand packers and movers app
 
On demand packers and movers app
On demand packers and movers appOn demand packers and movers app
On demand packers and movers app
 
Pickup and Delivery App Development in 2024: Steps, Cost, Tech Stack
Pickup and Delivery App Development in 2024: Steps, Cost, Tech StackPickup and Delivery App Development in 2024: Steps, Cost, Tech Stack
Pickup and Delivery App Development in 2024: Steps, Cost, Tech Stack
 
What are the Best Practices for developing SaaS Applications? | Calidad Infotech
What are the Best Practices for developing SaaS Applications? | Calidad InfotechWhat are the Best Practices for developing SaaS Applications? | Calidad Infotech
What are the Best Practices for developing SaaS Applications? | Calidad Infotech
 
Water Delivery App Development With Features and Cost
Water Delivery App Development With Features and CostWater Delivery App Development With Features and Cost
Water Delivery App Development With Features and Cost
 

More from Salesforce Developers

More from 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
 
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
 
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
 

Recently uploaded

Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 

Recently uploaded (20)

AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Navigating the Large Language Model choices_Ravi Daparthi
Navigating the Large Language Model choices_Ravi DaparthiNavigating the Large Language Model choices_Ravi Daparthi
Navigating the Large Language Model choices_Ravi Daparthi
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptxCyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
 
How to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in PakistanHow to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in Pakistan
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdfFrisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 

Surface Your Existing Force.com Canvas App in the Salesforce1 Mobile App

  • 1. Force.com Canvas Admin-Approved, User-Approved, and Personal Apps Unlocked Jay Hurst Senior Product Manager, salesforce.com @extraidea Kari Hotchkiss Senior Quality Engineer, salesforce.com @karihotchkiss
  • 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 andcustomer 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. Jay Hurst Senior Product Manager
  • 4. Kari Hotchkiss Senior Quality Engineer
  • 5. Managing your Canvas Applications • Determining which type of Canvas App management to use can be an important decision – How many of you have installed and managed a Canvas App or Connected App in your Organizations before? – How many have wished that they could roll out applications to their users with less Administrative management? – How many would like to learn about Personal Canvas Apps?
  • 6. Types of Canvas Apps When do I choose which, and why?
  • 7. Different Types of Canvas App • There are three different types of Canvas Apps – Admin Approved – End User Approved – Personal Canvas Apps • Each type requires a different setup on the Developer side, and a different management from the Administrator side • The app choice drives: – User experience with the approval screen – Admin experience with the management – Developer decision tree when the Canvas App Loads • A Canvas App can support one or more of the types
  • 8. Admin-Approved Canvas Apps • This option allows the administrator to specify which users can use the app – The admin is pre-approving specific users for the app • Admin selects specific users by approving Profiles and Permission Sets for the app – The Canvas App will always receive an HTTP POST from salesforce.com • POST contains the signed request and other app information • The Canvas App can instantly return the correct content to the end user • The end user will never see an Accept/Deny screen – Any user without admin approved access who tries to load the app will see an error
  • 9. User-Approved Canvas Apps • This option allows the end users to approve or deny access to the app – The admin still must install or create the Canvas App – If the app has not been approved by the user, the app will receive an HTTP GET from salesforce.com • GET will contain a URL parameter “_sfdc_canvas_authvalu with a value of “user_approval_required” – Canvas App must detect this and push the user into an OAuth flow to approve the app • Once the app has been approved, the app can use the Canvas JavaScript SDK to: – getContext() – Returns the app context – refreshSignedRequest() – Returns the signed request through JavaScript – repost() – Does a new POST of the signed request to your app – The end user will see an Accept/Deny screen if • The app has never been approved • The access has been revoked or expired – If the user denies access, the Canvas App must handle the error messaging to the end user
  • 10. Canvas Personal Apps • This option allows the end users to install the Canvas App into the org – Only the Canvas specific metadata information is installed • The admin can choose to not allow this for the org • The admin can later install the full app and turn it into a Admin-Approved or User-Approved App – The user must discover the app and be taken into the standard OAuth Approve/Deny flow • Approving the app will kick off the install process – If the app has been installed already, the user is granted access – The app will only appear on the Chatter Tab location • If the access is revoked to the app, it will be removed from the Chatter Tab – The Canvas App must detect that it is a personal app • The signed request will contain information that app is a personal app • Canvas App can determine which content to display
  • 11. Which App Should I Choose? Decision is based on what the Canvas App is used for, and what the need is Canvas App Feature Admin- Approved User- Approved Canvas Personal App Admin Installs Canvas App P P Admin Selects which Users can use the App P End User sees Approve/Deny Flow P P Can be Installed by an End User P Canvas App Handles Auth Flow and Errors P P Can be used in a PE/GE org P P Non-Canvas Metadata in Package Included in Install P P
  • 13. Admin-Approved Flow • User opens Canvas App • Salesforce determines if user has access – If no access, access error thrown • Salesforce generates signed request – JSON is base64 encoded – HMAC-SHA256 with the canvas consumer secret used to generate a key – Key and base64sting are combined and sent as a POST • Canvas App accepts the POST – HMAC-SHA256 with the canvas consumer secret used to generate a key – Key is compared to the key sent in signed request • Canvas App chooses to display content
  • 15. User-Approved Flow • User opens Canvas App • Salesforce determines if user has previously approved • If not previously approved salesforce does a GET with URL parameter – Canvas App accepts the GET and then pushes the user through an OAuth flow • If the user denies the access Canvas App displays error – Once app is approved, Canvas app issues getContext, refreshSignedRequest, or repost • If previously approves, salesforce generates signed request and does a POST – Canvas App accepts the POST • Canvas App chooses to display content
  • 17. User-Approved Flow • User discovers the app and clicks a link to get the app – Link is hosted somewhere by the Canvas App – Link goes to the standard OAuth Flow • If the app is not installed, the canvas metadata is installed – User gets an email when install is complete • If the app is installed approval is completed • User goes to the Chatter Tab – If there is an app installed, and the user has approved, the app will appear in the Chatter list • User opens the Canvas App – Salesforce generates signed request and does a POST – Canvas App accepts the POST • Canvas App chooses to display content
  • 19. Wrapup/What Have We Learned? • Today we learned the different types of Canvas Apps – What types of Canvas Apps can you create – What are the differences between the app types – When should I use which pp type • We also walked through the code and flows of the different app types – Admin-Approved – User-Approved – Canvas Personal Apps
  • 20. Q&A

Editor's Notes

  1. Key Takeaway: We are a publicly traded company. Please make your buying decisions only on the products commercially available from Salesforce.com. Talk Track: Before I begin, just a quick note that when considering future developments, whether by us or with any other solution provider, you should always base your purchasing decisions on what is currently available.