Summer ’18
Developer Highlights
June 1, 2018 | 11:00 am IST
Satya
Sekhar
Trailhead Developer
@satyasekharcvb
Sushma
Tiwaari
Salesforce Consultant
@Neetusushma
Shashank
Srivatsavaya (Host)
Developer Relations
Manager, Salesforce
@shashforce
Forward-Looking Statement
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.
Go Social!
Salesforce Developers
Salesforce Developers
Salesforce Developers
The video will be posted to YouTube & the
webinar recap page (same URL as registration).This webinar is being recorded!
@salesforcedevs
Have Questions?
• Don’t wait until the end to ask your question!
– Technical support will answer questions starting now.
• Respect Q&A etiquette
– Please don’t repeat questions. The support team is working
their way down the queue.
• Stick around for live Q&A at the end
– Speakers will tackle more questions at the end, time-allowing
• Head to Developer Forums
– More questions? Visit developer.salesforce.com/forums
Agenda
• Lightning Components and Visualforce
• Einstein Platform Services
• Apex
• Debugging
• Developer Tools
• Packaging
• Metadata
1. Live Apps in the Salesforce
AppExchange
2. Project Tracker Live App
Summer ’18 ReleasePreview
Sales
1. Lightning Dialer Enhancements
2. Pardot: Account Based Marketing
Dashboard
3. Inbox: Relationship Intelligence
4. Sales Cloud: Einstein In-Mobile
5. Sales Essentials Setup Home
1. Einstein Bots
2. Service Cloud Mobile
3. Field Service Lightning: Snap-
Ins for Appointment
Management
4. Lightning Guided Actions
5.Omni-Channel Skills-
Based Routing
6.Shield for Field Service
Lightning
7.Case Email Enhancements
8.Resource Scheduling
Optimization
Service
Marketing
1. Marketing Cloud Integration
for Google Analytics 360
2. DMP + Email Studio: Bi-
Directional Email Activation
3. Social Studio: Publish to
Instagram
4. Journey Builder: Einstein Splits
5. Distributed Marketing: Quick Send
6. Email Studio: Customizable Content
Editor
7. Advertising Studio: Integration with
LinkedIn
Community
Commerce
1. Einstein Search
Recommendations
2. Keyword Sorting Rules for
Site Search
3. SEO Meta Tags
4. Extensible Markup Language
(XML) Sitemaps
5. Language Analyzer for Site
Search
Quip
3. Process Bar Live App
4. Image Live App
5. In-line Edit History
Industries
1. Person Accounts Support
2. Support for Salesforce Inbox
3. Support for Pardot.
4. Enhanced Household Relationship Views
Platform
Platform
Services
1. Heroku Connect: Heroku Shield
Support
2. Shield: Filter-Preserving Encryption
3. Apex Replay Debugger
4. Full Content Push Notifications
5. Shield: Hourly Event Logs
Lightning
1. List View Filtering
Enhancements
2. Mass Quick Actions
Enhancements
3. Personalized Navigation
Enhancements
4. Custom Themes & Branding
Enhancements
5. Lightning Stylesheets for
Visualforce
6. New and Improved Lightning
Components
Einstein Analytics
1. Conditional Formatting
2. Analytics Templates
3. Lightning Experience Reports:
Sub-Folders and Subscriptions
4. Real-Time Predictions and
Recommendations
5. Data Import: New Connectors
and Improved Scheduling
1. Pre-Built Themes
2. Partner Co-Branding
3. Posts at Scale
4. Pinned Posts
5. Community 360
Enhancements
Success Cloud
1. Simplified Case Submission
2. Proactive Monitoring
3. Lightning Boost
4. Implementation Architect
5. New Accelerators: Business
Value & Lightning Adoption
Financial Services Cloud
1. HL7 v2 Adapter
2. Field Service Lightning Integration
Health Cloud
New and Improved Base Lightning Components
•New components to
accelerate app development.
•Other improvements made to
existing base Lightning
Components.
Build faster with new and improved components
Before Summer ‘18
Two components to edit and view record with out apex
With Summer ’18 -- lightning:recordForm
Quick and Easy Way to Create Form
readonly
edit
lightning:datatable
Enhancement
• Now supports mass inline
editing
• Columns now support
horizontal alignment
• Cell-level, Row-level and
Table-level error messages
are displayed in the table
• Actions can be defined for
oncellchange, oncancel
and onsave events
Lightning Navigation APIs
•Control whether a component can be opened
programmatically
•Generates a user-friendly URL for the components
•Pass attributes to the component as URL parameters
•Future-proofs your apps from changes in URL format using
PageReference Object
•force:navigateToComponent is now deprecated
Navigate to custom components programmatically
Lightning Navigation APIs
How does it work for Lightning Components?
Source Component
Includes<lightning:navigation>
Component
Sets the properties on PageReference
Object.
• Type: standard_component
• Attributes: <Name of theTarget
Component>
• State: <parameters to be passed>
Calls navigate(PageReference) method
Implements
lightning:isURLAddressable
interface
Gets parameters using
v.pageReference attribute
Target Component
lightning:quickActionAPI
Programmatically invoke quick actions in the lightning page
• Provides access to methods
to interact with quick actions
on a lightning page
• Similar to Salesforce
Classic Publisher APIs
Implementation:
• use the component lightning:quickActionAPI in
your custom Lightning component.
• Invoke the methods of quickActionAPI in your
controller.
Lightning Experience Stylesheets (GA)
• Style your Visualforce pages with the look of Lightning Experience when
viewed in Lightning Experience or the Salesforce app.
• Styling doesn’t change when the page is viewed in Salesforce Classic.
• set lightningStylesheets="true" in the <apex:page> tag.
Einstein Platform Services
• Reset your Einstein Platform
Services private key
- https://api.einstein.ai/reset
Einstein Platform Services
• Get twice as many free predictions
• Use a refresh token instead of your private key to generate an access
token
- Use a refresh token for apps that don’t have access to the private key, such as
mobile apps
Switch Statement
Simplify your code with Apex Switch Statement
• Expression can be
Integer, Long, sObject,
String, Enum or even a
method call
• The when value can be a
single value, multiple
values, or sObject types
• There is no fall-through
• when value can also
be null
Switch Statement
Simplify your code with Apex Switch Statement
vs
Log Limits increased
•Debug Log size limit is increased from 2MB to 5MB
•Store up to 250MB of logs at a time
•System logs are deleted after 24 hours instead of 7 days
•Monitoring logs are still saved for 7 days
Store Larger Debug Logs with Changed Log Limits
Lightning Components: User Level Debug Mode
Enable Debug mode for
developers with out affecting
performance for end users
Convenient to debug even in
production
Enable Debug Mode for Only the Users Who Need It
Locker Service Updates
Performance Optimizations
Code executing inside
locker service now runs faster
Cleaner Debugging
No wrappers around the
code any more! Code looks
same while debugging, even
when locker service is on
Enhances security by isolating individual components in their own containers
Salesforce Extensions for VS Code
Force.com IDE 2 Beta Discontinued!!!
The classic version of Force.com IDE is
still available!
Open tooling through open standards to
deliver powerful features to customers
more quickly.
Visit the Visual Studio Code Marketplace to
download Salesforce Extensions for VS Code
Improve Application Lifecycle Management
For all developers
Plan
Code
BuildTest
Release
CLI for integration with
3rd party editors
Development Environments:
Scratch Orgs & Dev Sandboxes
Continuous Delivery/
build automation
Continuous integration
with test automation
Test Environments
Partial & Full Sandboxes
for UAT, staging
Packaging
VCS to guide
change
management
IDEs, Text Editors,
Language Services
Change sets
Unlocked Packages (Beta)
•Now add, edit, and remove metadata in your org in a trackable
way
•Reuse components and upgrade your Salesforce apps easier
and faster
•Promote iterative and modular development
Packaging is not just for partners anymore
Unlocked Packages
Metadata Coverage Report
Shows coverage information
for the latest API version that
your org supports
Access URL
https://yourOrgUrl/mdcover
age/report.jsp
Protect your data while enabling access to Metadata
Permits access to Metadata without providing access to Org data
Deploying Changesets
Earlier: Needs Deploy Change Sets permission and the Modify All Data
permission
Now: Only the Deploy Change Sets permission and the Modify Metadata
permission
Q & A
Try Trailhead: trailhead.salesforce.com
Join the conversation: @salesforcedevs
bit.ly/webinarinapac
Survey
Your feedback is crucial to the success of our
webinar programs. Please fill out the survey at
the end of the webinar. Thank you!
Summer '18 Developer Highlights

Summer '18 Developer Highlights

  • 1.
    Summer ’18 Developer Highlights June1, 2018 | 11:00 am IST Satya Sekhar Trailhead Developer @satyasekharcvb Sushma Tiwaari Salesforce Consultant @Neetusushma Shashank Srivatsavaya (Host) Developer Relations Manager, Salesforce @shashforce
  • 2.
    Forward-Looking Statement Statement underthe 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.
    Go Social! Salesforce Developers SalesforceDevelopers Salesforce Developers The video will be posted to YouTube & the webinar recap page (same URL as registration).This webinar is being recorded! @salesforcedevs
  • 4.
    Have Questions? • Don’twait until the end to ask your question! – Technical support will answer questions starting now. • Respect Q&A etiquette – Please don’t repeat questions. The support team is working their way down the queue. • Stick around for live Q&A at the end – Speakers will tackle more questions at the end, time-allowing • Head to Developer Forums – More questions? Visit developer.salesforce.com/forums
  • 5.
    Agenda • Lightning Componentsand Visualforce • Einstein Platform Services • Apex • Debugging • Developer Tools • Packaging • Metadata
  • 6.
    1. Live Appsin the Salesforce AppExchange 2. Project Tracker Live App Summer ’18 ReleasePreview Sales 1. Lightning Dialer Enhancements 2. Pardot: Account Based Marketing Dashboard 3. Inbox: Relationship Intelligence 4. Sales Cloud: Einstein In-Mobile 5. Sales Essentials Setup Home 1. Einstein Bots 2. Service Cloud Mobile 3. Field Service Lightning: Snap- Ins for Appointment Management 4. Lightning Guided Actions 5.Omni-Channel Skills- Based Routing 6.Shield for Field Service Lightning 7.Case Email Enhancements 8.Resource Scheduling Optimization Service Marketing 1. Marketing Cloud Integration for Google Analytics 360 2. DMP + Email Studio: Bi- Directional Email Activation 3. Social Studio: Publish to Instagram 4. Journey Builder: Einstein Splits 5. Distributed Marketing: Quick Send 6. Email Studio: Customizable Content Editor 7. Advertising Studio: Integration with LinkedIn Community Commerce 1. Einstein Search Recommendations 2. Keyword Sorting Rules for Site Search 3. SEO Meta Tags 4. Extensible Markup Language (XML) Sitemaps 5. Language Analyzer for Site Search Quip 3. Process Bar Live App 4. Image Live App 5. In-line Edit History Industries 1. Person Accounts Support 2. Support for Salesforce Inbox 3. Support for Pardot. 4. Enhanced Household Relationship Views Platform Platform Services 1. Heroku Connect: Heroku Shield Support 2. Shield: Filter-Preserving Encryption 3. Apex Replay Debugger 4. Full Content Push Notifications 5. Shield: Hourly Event Logs Lightning 1. List View Filtering Enhancements 2. Mass Quick Actions Enhancements 3. Personalized Navigation Enhancements 4. Custom Themes & Branding Enhancements 5. Lightning Stylesheets for Visualforce 6. New and Improved Lightning Components Einstein Analytics 1. Conditional Formatting 2. Analytics Templates 3. Lightning Experience Reports: Sub-Folders and Subscriptions 4. Real-Time Predictions and Recommendations 5. Data Import: New Connectors and Improved Scheduling 1. Pre-Built Themes 2. Partner Co-Branding 3. Posts at Scale 4. Pinned Posts 5. Community 360 Enhancements Success Cloud 1. Simplified Case Submission 2. Proactive Monitoring 3. Lightning Boost 4. Implementation Architect 5. New Accelerators: Business Value & Lightning Adoption Financial Services Cloud 1. HL7 v2 Adapter 2. Field Service Lightning Integration Health Cloud
  • 7.
    New and ImprovedBase Lightning Components •New components to accelerate app development. •Other improvements made to existing base Lightning Components. Build faster with new and improved components
  • 8.
    Before Summer ‘18 Twocomponents to edit and view record with out apex
  • 9.
    With Summer ’18-- lightning:recordForm Quick and Easy Way to Create Form readonly edit
  • 10.
    lightning:datatable Enhancement • Now supportsmass inline editing • Columns now support horizontal alignment • Cell-level, Row-level and Table-level error messages are displayed in the table • Actions can be defined for oncellchange, oncancel and onsave events
  • 11.
    Lightning Navigation APIs •Controlwhether a component can be opened programmatically •Generates a user-friendly URL for the components •Pass attributes to the component as URL parameters •Future-proofs your apps from changes in URL format using PageReference Object •force:navigateToComponent is now deprecated Navigate to custom components programmatically
  • 12.
    Lightning Navigation APIs Howdoes it work for Lightning Components? Source Component Includes<lightning:navigation> Component Sets the properties on PageReference Object. • Type: standard_component • Attributes: <Name of theTarget Component> • State: <parameters to be passed> Calls navigate(PageReference) method Implements lightning:isURLAddressable interface Gets parameters using v.pageReference attribute Target Component
  • 13.
    lightning:quickActionAPI Programmatically invoke quickactions in the lightning page • Provides access to methods to interact with quick actions on a lightning page • Similar to Salesforce Classic Publisher APIs Implementation: • use the component lightning:quickActionAPI in your custom Lightning component. • Invoke the methods of quickActionAPI in your controller.
  • 14.
    Lightning Experience Stylesheets(GA) • Style your Visualforce pages with the look of Lightning Experience when viewed in Lightning Experience or the Salesforce app. • Styling doesn’t change when the page is viewed in Salesforce Classic. • set lightningStylesheets="true" in the <apex:page> tag.
  • 15.
    Einstein Platform Services •Reset your Einstein Platform Services private key - https://api.einstein.ai/reset
  • 16.
    Einstein Platform Services •Get twice as many free predictions • Use a refresh token instead of your private key to generate an access token - Use a refresh token for apps that don’t have access to the private key, such as mobile apps
  • 17.
    Switch Statement Simplify yourcode with Apex Switch Statement • Expression can be Integer, Long, sObject, String, Enum or even a method call • The when value can be a single value, multiple values, or sObject types • There is no fall-through • when value can also be null
  • 18.
    Switch Statement Simplify yourcode with Apex Switch Statement vs
  • 19.
    Log Limits increased •DebugLog size limit is increased from 2MB to 5MB •Store up to 250MB of logs at a time •System logs are deleted after 24 hours instead of 7 days •Monitoring logs are still saved for 7 days Store Larger Debug Logs with Changed Log Limits
  • 20.
    Lightning Components: UserLevel Debug Mode Enable Debug mode for developers with out affecting performance for end users Convenient to debug even in production Enable Debug Mode for Only the Users Who Need It
  • 21.
    Locker Service Updates PerformanceOptimizations Code executing inside locker service now runs faster Cleaner Debugging No wrappers around the code any more! Code looks same while debugging, even when locker service is on Enhances security by isolating individual components in their own containers
  • 22.
    Salesforce Extensions forVS Code Force.com IDE 2 Beta Discontinued!!! The classic version of Force.com IDE is still available! Open tooling through open standards to deliver powerful features to customers more quickly. Visit the Visual Studio Code Marketplace to download Salesforce Extensions for VS Code
  • 23.
    Improve Application LifecycleManagement For all developers Plan Code BuildTest Release CLI for integration with 3rd party editors Development Environments: Scratch Orgs & Dev Sandboxes Continuous Delivery/ build automation Continuous integration with test automation Test Environments Partial & Full Sandboxes for UAT, staging Packaging VCS to guide change management IDEs, Text Editors, Language Services Change sets
  • 24.
    Unlocked Packages (Beta) •Nowadd, edit, and remove metadata in your org in a trackable way •Reuse components and upgrade your Salesforce apps easier and faster •Promote iterative and modular development Packaging is not just for partners anymore
  • 25.
  • 26.
    Metadata Coverage Report Showscoverage information for the latest API version that your org supports Access URL https://yourOrgUrl/mdcover age/report.jsp
  • 27.
    Protect your datawhile enabling access to Metadata Permits access to Metadata without providing access to Org data Deploying Changesets Earlier: Needs Deploy Change Sets permission and the Modify All Data permission Now: Only the Deploy Change Sets permission and the Modify Metadata permission
  • 28.
    Q & A TryTrailhead: trailhead.salesforce.com Join the conversation: @salesforcedevs bit.ly/webinarinapac
  • 29.
    Survey Your feedback iscrucial to the success of our webinar programs. Please fill out the survey at the end of the webinar. Thank you!