2. AGENDA
1)Apex:
• Simplify your Code With Apex Switch Statement.
2)Visualforce:
• Apply Lightning Experience Stylesheets to
visualforce Pages(GA)
3)Lightning Components:
• New Lightning Navigation API for Lightning
Components.
• Enable Debug Mode For Only the Users Who
need it.
• Lightning Components Library is generally
available.
• Lightning Data Table.
3. • Simplify your Code With Apex Switch Statement.
Apex now provides a switch statement that tests
whether an expression matches one of several values
and branches accordingly.
Syntax:
1)Apex:
switch on expression {
when value1 { // when block 1
// code block 1
}
when value2 { // when block 2
// code block 2
}
when value3 { // when block 3
// code block 3
}
when else { // when else
block, optional
// code block 4
}
}
5. • Apply Lightning Experience Stylesheets to visualforce
Pages(Generally Available)
1. Style your Visualforce pages with the look of Lightning
Experience when viewed in Lightning Experience or the
Salesforce app. This attribute doesn’t change the styling
when the page is viewed in Salesforce Classic.
1.To Style your Visualforce page,set
lightningStylesheets=“true” in the <apex:page> tag.
2)Visualforce:
7. include<lightning:navigation>
component
Set the properties of pageReference
object
Type:Standard_Component
Attribute:<Name of the Target
Component>
State:<Parameter to be Passed
Calls navigate<PageRefrence>Method
Implement
lightning:isUrlAddressable
interface
Gets Parameter using
v.PageRefrence Attribute
Source Component Target Component
3)Lightning Components:
• New Lightning Navigation API for Lightning
Components.
10. • Lightning Components Library is generally available
1.You can find the Component Library
at developer.salesforce.com/docs/component-library. The
Component Library is also available as an authenticated
experience
at https://<myDomain>.lightning.force.com/componentRef
erence/suite.app, where <myDomain> is the name of your
custom Salesforce domain.
2. Documentation for system tags, such
as <aura:component>, and much more is in the Lightning
Components Developer Guide
at developer.salesforce.com/docs/atlas.en-
us.lightning.meta/lightning/.
11. ● Lightning Data Table.
● Boolean Value Supported in New Release
● Support For Inline Edit.
13. ● Some Enhancment
•Debug log size increased from 2mb to 5mb and can store
upto 250 logs at a time
•System logs are deleted after 24 hours instead of 7 days.
•Monitoring logs are still saved for 7 days.
•The Maximum amount of Apex code that you use in an org
has been doubled,from 3MB to 6MB.