Spring ‘18 is coming to a sandbox near you and that means the release notes are out! The PDF is 439 pages this time around, and it felt like Salesforce was adding a bunch of lesser used features and minor enhancements to bring Lightning up to feature parity with Classic. That being said, there are still many exciting new additions and here are my top 10 favorites!
List Class adding contains() and indexOf() methods
For too long, I’ve been putting all my list items into a set for the sole purpose of running a .contains() on it. Excited to see this option is coming to List as well!
No more ENTERING_MANAGED_PKG for Debug Logs!
Few things annoy me more than losing debug log space for running managed package code that I can’t see or edit anyway. Hopefully this will make solving apex issues simpler!
Custom Themes and Branding
Was very excited to see this discussed at Dreamforce. Every company has a unique usage for Salesforce and it is great to see that Salesforce is allowing the uniqueness to expand to the color scheme of the org itself.
https://releasenotes.docs.salesforce.com/en-us/spring18/release-notes/rn_lightning_themes.htm
Salesforce Surveys
Excited to see that Salesforce has added a standard Survey component! Interesting possibilities with this one to gain insights from internal users and communities.
https://releasenotes.docs.salesforce.com/en-us/spring18/release-notes/rn_general_surveys.htm
Time Field is now in Public Beta
As someone who works with a time reservation app, I love that this feature is publicly available. I am especially excited about the formula fields that come with this as well.
Related Fields and Other Objects in Component Visibility
At Dreamforce, I found out about the capability of dynamic Lightning component visibility. Very encouraged to see that this has been extended to related fields and objects as well! This allows for additional flexibility on Lightning pages.
Force.com is now the Lightning Platform
This is more of a semantic thing than anything and while maybe not one of my favorite changes, I’m hoping that this helps introduce some consistency in Salesforce’s naming conventions. I’ve only been working with the platform for a couple years but in that time, I’ve heard the platform referred to as the Force.com Platform, the Salesforce1 Platform, the Salesforce Platform, and probably another name or two that I’m forgetting. Hopefully this name sticks!
Collapsible Sections on Lightning Pages
One of my favorite features on large page layouts now comes to Lightning pages to collapse various components! Should make pages easier to read.
Validation Rules can use Custom Metadata (Pilot)
While just a pilot for now, I’m glad to see that the line between Standard and Custom metadata is shrinking!
Lead Conversion Configurability
Every company has a slightly different lead conversion process, so any additional option to customize that process is a welcome addition to me! This might even make Bill Lumbergh smile.
New URL Format in Lightning Experience
With just one example in the Release notes, it’s hard to tell exactly how helpful this will actually be but I’m hoping it will make ALL URLs in Lightning more readable. I was able to create a record in a pre-release org and ended up with this URL https://gs0.lightning.force.com/lightning/r/Hockey_Player__c/a01B0000002AEofIAG/view for my custom Hockey_Player__c object with ID a01B0000002AEofIAG
Current format: https://lightning.domain.com/one/one.app/#/sObject/Account/home
New format: https://lightning.domain.com/lightning/o/Account/home
Those are my favorites from Spring ’18, let me know if you have any others!
Hi Adam:
I tried the Validation Rule with custom metadata and keep getting an error.
Here is the rule:
Discount__c >
$CustomMetadata.DiscountLimits__mdt.FoodDiscount.maxDiscount__c
Here is the error message in the formula editor:
Error: Error: Field $CustomMetadata.DiscountLimits__mdt.FoodDiscount.maxDiscount__c does not exist. Check spelling.
I have created a new Custom Metadata Type “DiscountLimits”,
new custom field maxDiscount (number, 2 positions, 0 decimal)
new custom record FoodDiscount with field maxDiscount as 10
Any idea? When I tried to insert the custom piece, my choices were :
$ObjectType
$Organization
$Profile
$System
$User
$UserRole
But I couldn’t see any $Custom option
LikeLike
Are you using a pre-release Spring 18 org? If not, I don’t think any orgs have been upgraded yet so you may need to wait a couple of weeks to be able to use these features. Check it out here! https://www.salesforce.com/form/signup/prerelease-spring18.jsp
LikeLike
Yes, I have one of those gs0 orgs (Codey watering a bonsai) and have tried some of the new SP18 features like accordion, etc.
Can you share what/how you created yours?
Thanks
LikeLike
Ah since it’s a pilot program, you actually need to contact Salesforce to have them enable this for you: https://releasenotes.docs.salesforce.com/en-us/spring18/release-notes/rn_forcecom_development_custom_metadata.htm
LikeLiked by 1 person
What a relief man! I was starting to think that I did something wrong.
Can’t wait to try this feature.
Thanks!
LikeLike