Skip to main content

Posts

Features in the Salesforce Spring ’19 Release

The  Salesforce Spring ‘19 release  is quickly approaching and soon you’ll be able to take advantage of exciting new features and functionality. Here is a recap of 7 of my favorite features in the Salesforce Spring ’19 release, including pinned lists, lightning web components, customized help menu and more. Key Dates 1. Jump Right into Your Most Important List View with Pinned Lists Do you have a go-to list view that you want to load as your default list? Now you can. With pinned lists, all users can make any list their new default. Learn more about pinned lists → 2. New Lightning Web Components Spring ’19 introduces a new type of Lightning component called a Lightning web component. What used to be called a Lightning component is now called an Aura component. Aura components and Lightning web components work together and are both part of the Lightning Component framework. Learn more about new Lightning Web Components → 3. Add Custom Resources to the Refreshed L

Deprecated and New features in Spring 19

Deprecated Default Values Without Square Brackets for Array, Set, and List Attributes Setting a default value without square brackets is deprecated and can lead to unexpected behavior. To set a default value for these attribute types, surround comma-separated values with  [] ; for example,  default="['red', 'green', 'blue']" . Where:  This change applies to orgs with Lightning components in Lightning Experience, Salesforce Classic, and all versions of the Salesforce app. How:  Here’s an example of attributes for an array, a list, and a set. <aura:attribute name="colorArray" type="String[]" default="['red', 'green', 'blue']" /> <aura:attribute name="colorList" type="List" default="['red', 'green', 'blue']" /> <aura:attribute name="colorSet" type="Set" default="['red', 'green', '

Send attachment Via Apex using Templates

Email Via Apex using Email Templates : Contact con = [Select id from contact Limit 1]; List<String> emailsAll = new List<String>(); emailsAll.add(' toEmailAddress@gmail.com '); List<String> emailsCC = new List<String>(); emailsCC.add('cC EmailAddress@gmail.com '); String TemplateId = [SELECT Id FROM EmailTemplate WHERE DeveloperName = 'Multi_Language_Template_Test' LIMIT 1].Id; List<Messaging.SingleEmailMessage> mails =  new List<Messaging.SingleEmailMessage>();                    // Step 1: Create a new Email         Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();                 // Step 2: Set list of people who should get the email         mail.setToAddresses(emailsAll);         mail.setCcAddresses(emailsCC);         // Step 3: Set who the email is sent from         mail.setReplyTo('noreply@gmail.com'); // change it with your/Company mail address.         mail.setSende

Platform Developer I Certification Maintenance (Spring '19)

Platform Developer I Certification Maintenance (Spring '19) 1. Which Apex interface can be implemented to allow My Domain users to log in with something other than their username and password? A. Auth.AuthToken B. Auth.VerificationMethod C. Auth.LoginDiscoveryHandler D. Auth.MyDomainLoginDiscoveryHandler 2. With Spring '19, which method returns a list of OrgLimit instances used to investigate limits and their names, current value, and maximum value? A. getAll() from the System.OrgLimit Class B. getAll() from the System.OrgLimits Class C. getInstances() from the System.OrgLimit Class D. getInstances() from the System.OrgLimits Class 3. With Spring '19, which properties of an unhandled Apex exception are available in Event Monitoring log files? A. Static variable state and stack trace B. Exception type, name, and static variable state C. Stack trace, user's location, and exception type D. Exception message, exception type n

Translate