Exception/Error Handling in Salesforce Batch Apex
Batch Apex classes can fire platform events when encountering an error or exception. Event records provide more granular tracking of errors than the Apex Jobs UI because they include the ....
Batch Apex classes can fire platform events when encountering an error or exception. Event records provide more granular tracking of errors than the Apex Jobs UI because they include the ....
Salesforce Pricing depends on the Product and Features we choose.1. First choose the right cloud.a. Sales Cloudb. Service Cloudc. Marketing Cloudd. Experience Cloude. Commerce Cloud(B2B/B2C)2. Learn about Editions for Sales ....
1. Check the user's profile. Make sure the Apex Class is added to the "Enabled Apex Class Access". 2. Make sure the user has "API enabled" permission in the profile ....
Sample SOQL:SELECT Id, Name, ( SELECT Id, Subject, Status FROM ActivityHistories ) FROM Account WHERE Id = '0018c000026ZmPmAAK' Output:
Use SFDX Command to logout or disconnect user credentials in VS Code for Salesforce. Syntax:sfdx auth:logout --targetusername my-hub-org Example:sfdx auth:logout --targetusername magtraining Output:
To Freeze Row or Column in Quip, follow the below steps. 1. Right Click the cell. 2. Select Freeze/Unfreeze. Video Reference: https://www.youtube.com/embed/9CbOZEcrD0s
Sample Code: HTML: <template> <lightning-quick-action-panel header="My action"> Testing<br/><br/> <lightning-button variant="brand" label="Close" onclick={closeQuickAction}></lightning-button> </lightning-quick-action-panel> </template> JavaScript: import { LightningElement, api } from 'lwc'; import { CloseActionScreenEvent } ....
Sample Contact Record: SOQL:SELECT Id, AccountId, Account.Name FROM AccountContactRelation WHERE ContactId IN (SELECT Id FROM Contact WHERE Email = '[email protected]' ) Output:
Sample Code:Visualforce Page:<apex:page controller="SamplePageController"> Current Year Datetime is {!currentYearDT}<br/><br/> Last Year Datetime is {!lastYearDT} </apex:page> Apex Class:public class SamplePageController { public DateTime currentYearDT { get; set; } public ....
Sample SOQL:SELECT Id, Name FROM User WHERE UserPermissionsSupportUser = true Output: