Monday, November 4, 2019

Administrator Certification Maintenance (Summer 19)

Step: 1

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.  Users can switch between preferences

3. Which filter option can an administrator recommend to help a manager filter on tasks for their team?
Ans.  My team's tasks

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 table



Step: 2

1. Setup->Quickfind enter Email template--> click on Lightning Email Templates
    Enable folders and Enhanced Sharing
2. Go to App Launcher--->serch apps or item Enter Email templates click on Email template
3. Click on New Foldername-->Folder Label: Sales-->click on save
4. Click on New Email Template-->Template Name: General
   Click on folder name-->select sales click on select folder
   Subject: General
   click on image insert

Platform Developer I Certification Maintenance (Summer '19)

Step -1 

1. What allows Flows to manipulate complex data types that are often returned from calls to web services?
Ans. Apex-defined data types


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 made using continuations


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/>





Step- 2


  1. In Chrome, open an incognito browser window.
  2. Select and copy this link: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t4P000002EMv0
  3. In the incognito window, paste the link into the address bar to install the package.
  4. On the Salesforce login screen that appears, enter the username and password for your Trailhead Playground, then click Log In.
  5. Select Install for All Users, then click Install.
  6. Once the installation is complete, click Done.

7. Modify Batch class(first line):
    public with sharing class BatchLeadConvert implements Database.Batchable<SObject>,       Database.RaisesPlatformEvents{\
              .........
  }

8.Create below Trigger from developer console: 

  trigger BatchApexErrorTrigger on BatchApexErrorEvent (after insert) {
  list<BatchLeadConvertErrors__c> bcr= new List<BatchLeadConvertErrors__c>();
   
    for(BatchApexErrorEvent event: trigger.new){
       
        BatchLeadConvertErrors__c  evrterror= new BatchLeadConvertErrors__c ();
       
        evrterror.AsyncApexJobId__c= event.AsyncApexJobId;
        evrterror.Records__c=event.JobScope;
        evrterror.StackTrace__c=event.StackTrace;   
        bcr.add(evrterror);   
    }
   
    if(bcr.size()>0){
       
        insert bcr;
    }

 }