Skip to main content

Posts

Platform App Builder Certification Maintenance (Summer ’19)

1. Which attribute can an app builder use to make a dependent picklist screen component in flow screens required? Ans: {!$GlobalConstant.True}. 2. How can an app builder determine what flow type best meets a specific business process? Ans: Flow Templates 3. An app builder needs to notify an account owner of a new support case logged by a high-risk account. Which feature should the app builder use to send a custom notification to the account owner? Ans: Notification Builder. 4. Agents need to be able to see email attachments easily when reviewing cases. Which related list can the app builder add to the case page layout? Ans: Files related list 5. Where should an app builder go to create a Lightning letterhead after enabling enhanced letterheads for Lightning email templates? Ans: App Launcher> Enhanced Letterheads. For exercise. 1.Enable Path Setting before start and do according to trial head.

Platform Developer I Certification Maintenance (Summer '19)

1.What allows Flows to manipulate complex data types that are often returned from calls to web services? Answer: Apex Defined Data type 2. What is the benefit of using the Continuation class in Apex to make a long-running request to an external web service? ANS: more long-running callouts can be using as Continution 3. Which Lightning web component configuration file tag set specifies the form factors that the component supports? Ans: supportedFormFactors 4. Which tag adds the Lightning Web Components for Visualforce JavaScript library to a Visualforce page? Ans: <apex:includeLightning/> Exercise : Click this link: install Package Update the BatchLeadConvert class to implement the Database.RaisesPlatformEvents marker interface. See below Example : public with sharing class BatchLeadConvert implements Database.Batchable<SObject>, Database.RaisesPlatformEvents { // class implementation } Write a trigger on BatchApexErrorEvent object;

Admin Maintenance Summer 19

1.An administrator needs to customize hyperlinks to match corporate branding. Which setting can the administrator set to assign custom colors to hyperlinks? Ans: use brand Color 2. How can different Activities Views be used once the default Activities View is enabled by the administrator? Ans: User can switch the preference 3.Which filter option can an administrator recommend to help a manager filter on tasks for their team? Ans: My team task 4. By how many levels can dashboard components be sorted? Ans: 2 5. Which dashboard component should an administrator use to show subtotals? Ans: Lightning Tabel For exercise. 1.Activate enhance security. In Quick find box type ==> Lightning Email Templates  Enable Folders and Enhanced Sharing 2.Create a folder sales and add image(ur choice). In Lightning app menu Search for "Email Template" Create a Folder called "Sales" Create a Email Template Name "General" Subject "Gen

Salesforce Certification Study Materials

    All Latest Salesforce Study Materials     Contact here! dr@devrajtomar.com First Name Last Name Email Company City State/Province

Important Apex Code for getting Months, Days and Years:

Important Apex Code for getting Months, Days and Years: system.now().formatGMT('MMMMMMMMMMM') :  This line will return Current Month in string up to 11 Character. Fix the number of character by changing number of 'M'. if system date is somewhere in the month of January then : string monthName = system.now().formatGMT('MMM'); //return JAN DateTime.newInstanceGMT(Date.newInstance(2000, monthCount, 1), Time.newInstance(0, 0, 0, 0)).formatGMT('MMM') : This will return Month in string based on integer value ' monthCount ' , (1=JAN, 2=FEB...) Number of 'M' will decide how many character value should be return. Note : Use M for Month, D for day(days of year), Y for year.

Trigger Context Variables

These variables are contained in the  System.Trigger  class. Variable Usage isExecuting Returns true if the current context for the Apex code is a trigger , not a Visualforce page, a Web service, or an  executeanonymous()  API call. isInsert Returns  true  if this trigger was fired due to an insert operation , from the Salesforce user interface, Apex, or the API. isUpdate Returns  true  if this trigger was fired due to an update operation , from the Salesforce user interface, Apex, or the API. isDelete Returns  true  if this trigger was fired due to a delete operation , from the Salesforce user interface, Apex, or the API. isBefore Returns  true  if this trigger was fired before any record was saved. isAfter Returns  true  if this trigger was fired after all records were saved. isUndelete* Returns  true  if this trigger was fired after a record is recovered from the Recycle Bin . This recovery can occur after an undelete operation from the Salesforce user interface,  Apex

Development related Updates of Spring 19

Whether you’re using Lightning components, Visualforce, Apex, or our APIs with your favorite programming language, these enhancements to Lightning Platform help you develop amazing applications, integrations, and packages for resale to other organizations. Lightning Components: Introducing Lightning Web Components Lightning Web Components is a new programming model built on the Web Components standard. Lightning web components bring modern JavaScript and web standards to the Lightning Component framework, improve developer productivity, and boost performance. Also, Locker Service is renamed Lightning Locker. Visualforce: Show a Toast in JavaScript, Improved Component Compatibility, and Postponed Critical Update Use a new JavaScript function to show a toast message. The  <apex:detail>  and  <apex:enhancedList>  components have improved compatibility when working with custom objects. The maximum view state size has increased. The critical update that removes instance nam

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

Translate