Hi everyone, we all know Salesforce release 3 updates for its system in a year. Now Salesforce recently launched Summer 17. Summer is hot and in Rajasthan it’s very hot. So here are few hot and exciting updates for everyone.
- Use Advanced PDF to Render Visualforce Pages as PDF Files (Pilot)
To use Advanced PDF, set renderAs=”advanced_pdf” in the tag of a Visualforce page with API version 40.0 or later. This process is similar to the existing process for rendering a Visualforce page as a standard PDF file.
PDF pages rendered with Advanced PDF are subject to the same limitations as legacy PDF pages, including the maximum page size and limited number of fetched resources. Advanced PDF pages also time out after rendering for 2 minutes, which includes asynchronous processing time.
- Cache Operations Supported in Visualforce Controllers
Cache operations made using the put and remove methods in the Cache Namespace are now supported in constructors and getter methods of Visualforce controllers.
- New Option for Parallel Testing on the isTest() Annotation
Use the @isTest(isParallel=true) annotation to indicate test classes that can be run in parallel and aren’t restricted by the default limits on the number of concurrent tests. This makes the execution of test classes more efficient, because more tests can be run in parallel.
- Deploy Changes Now Trigger Recompile of All Apex Code
All of an org’s Apex code is now automatically recompiled before completing a metadata deploy, a package install, or a package upgrade.
Previously, a deploy, install, or upgrade left the org with invalidated code, which sometimes caused recompilation errors when many Apex transactions occurred. This change in behavior improves performance following metadata deploys and package updates.
- Disable Access to Non-global Apex Controller Methods in Managed Packages (Critical Update)
This critical update corrects access controls on Apex controller methods in managed packages. When this update is enabled, only methods marked with the global access modifier are accessible by Lightning components from outside the package namespace. These access controls prevent you from using unsupported API methods that the package author didn’t intend for global access.
Prior to this update, non-global methods (that is, Apex controller methods that weren’t marked with the global access modifier) could be accessed by Lightning components outside of the package namespace.
- Metadata Access in Apex
If you’re an ISV creating apps that use custom metadata components, you can now access metadata using Apex. This change applies to both Lightning Experience and Salesforce Classic.
During or after an install (or upgrade), your app can create or update metadata to let users configure your app. Use the new Metadata namespace for accessing metadata in Apex code. The Metadata namespace contains classes that represent metadata types and components as well as classes that let you retrieve or deploy metadata components in the subscriber org.
- Salesforce Integrations: Taking Salesforce to the Next Level
Now you can connect Salesforce with Skype for Business , Gmail, Google Calendar and Microsoft Office 365. They are generally available in both Lightning and Salesforce classic. Nut some of them are only available in Lightning.
- Einstein Vision Is Now Generally Available
Sign up for Einstein Vision to receive 1,000 free predictions per calendar month. If you need more predictions, you can purchase them.
Getting an Einstein Platform account is the first step to accessing the API. Use the sign-up page to get an account. You can get an account in two ways.
- Heroku—When you provision the Einstein Vision add-on, an Einstein Platform account is created for you.
- Salesforce—Log in with your Salesforce credentials and create an account.
After you create an account, you download your private key file. Use this file to create an access token.
You can also try your hand on a Trailhead project to understand it better.
There are many more other update related to Lightning and Einstein. As I am also reading them in more details so I might make another post for them in depth. This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release.
You can read release notes here. Let me know if I missed something here or if you want to add something then let me know in comments section.