
Find whether apex is currently executed in Trigger Context in Salesforce
Trigger.isExecuting can be used to find whether apex is currently executed in Trigger Context in Salesforce.

SELF REFERENCE FROM TRIGGER Exception in Salesforce with Roll-Up Summary
As per the order of execution in Salesforce, "If the record contains a roll-up summary field or is part of a cross-object workflow, performs calculations and updates the roll-up summary field in the parent record. Parent record goes through save procedure

List index out of bounds Exception in Salesforce
To avoid the System.ListException: List index out of bounds Exception in Salesforce, make sure the size of the list is checked before fetching list values using the index. For example, if you are trying to fetch list variable's second index values, make

Check Daily Workflow Emails Limit in Salesforce
Check this Blog Link for the Code Snippet: https://www.infallibletechie.com/2022/07/how-to-check-daily-workflow-emails.html

How to find fields that are part of a Page Layout in Salesforce?
Using the Apex Code snippet shared in my blog post, you can find the fields that are added as part of a page layout in Salesforce. Blog Post: https://www.infallibletechie.com/2022/07/how-to-find-fields-that-are-part-of-2.html

Download All the the files for a record in Salesforce using LWC
Blog Post: https://www.infallibletechie.com/2022/07/download-all-the-the-files-for-a-record-in-salesforce-using-lightning-web-component.html

Check SingleEmail limit in Salesforce
Single Email Limit is subjected to emails sent via API or Apex. There’s no limit on sending single emails to contacts, leads, person accounts, and users in your org directly from account, contact, lead, opportunity, case, campaign, or custom object pages.

Hyperlink a column in Salesforce Lightning Web Component lightning datatable
Blog Post: https://www.infallibletechie.com/2022/01/how-to-hyperlink-column-in-lightning.html

Filter or Search in Lightning Datatable in Salesforce Lightning Web ComponentLWC
To filter or search records in Lightning Datatable, use JavaScript includes(). Doing Apex call and using LIKE operator in the SOQL is not needed as we can filter the records in the Lightning Web Component JavaScript itself. Blog Post: https://www.infalli

How to convert Unix Timestamp to DateTime using Apex in Salesforce?
Blog Post: https://www.infallibletechie.com/2022/06/how-to-convert-unix-timestamp-to.html

Select a country:territory from the list of valid countries Salesforce Exception
"System.DmlException: Update failed. First exception on row 0 with id 0018c000026ZmPmAAK; first error: FIELD_INTEGRITY_EXCEPTION, There's a problem with this country, even though it may appear correct. Please select a country/territory from the list of va

Date and Datetime formatting in Salesforce Lightning Web Component
Blog Post: https://www.infallibletechie.com/2020/12/date-and-datetime-in-salesforce-lwc.html

ActivityId on EmailMessage Object in Salesforce
We will get INSUFFICIENT_ACCESS_OR_READONLY when we set ActivityId on the EmailMessage record with RelatedToId other than Case Record. Blog Post: https://www.infallibletechie.com/2022/09/activityid-on-emailmessage-object-in-salesforce.html

Invoke Salesforce Flow using Apex
Blog Post: https://www.infallibletechie.com/2022/10/how-to-call-salesforce-flow-using-apex.html

Find whether Salesforce instance is Up and Active
Blog Post: https://www.infallibletechie.com/2022/10/how-to-find-whether-salesforce-instance-is-up-and-active.html

Salesforce Lightning Web Component Lightning Datatable with row actions
Blog Post: https://www.infallibletechie.com/2020/03/lightning-datatable-with-buttonsrow.html

Check whether field exists in the object using Salesforce Apex
Blog Post: https://www.infallibletechie.com/2022/10/check-whether-field-exists-in-the-object-using-salesforce-apex.html

Create PDF file from String Content using Salesforce Apex
Blog Post: https://www.infallibletechie.com/2022/11/how-to-create-pdf-file-from-string-content-using-salesforce-apex.html

Attempt to de reference a null object Salesforce Exception
Salesforce Exception "System.NullPointerException: Attempt to de-reference a null object" is thrown when the Apex Code is trying to use/utilise an object that has not been instantiated, or an object's attribute that has not been initialised. Blog Post: h

Query Salesforce Picklist Field values using SOQL
Blog Post: https://www.infallibletechie.com/2022/10/how-to-query-salesforce-picklist-field-values-using-soql.html

IsClientManaged in Salesforce EmailMessage
If EmailMessage is created with IsClientManaged flag set to true, then the users can modify EmailMessage.ContentDocumentIds to link file attachments even though the Status of the EmailMessage is not set to Draft. To update EmailMessage.ContentDocumentIds,

Iterate list in Salesforce Visualforce Page
Page Block Table, Data Table, Data List and Apex Repeat can be used to render list in Visualforce page. Blog Post: https://www.infallibletechie.com/2022/02/how-to-iterator-list-in-salesforce.html

Infinite Loading in Salesforce lightning datatable
Infinite or Lazy Loading in Salesforce Lightning Web Component can be done using lightning-datatable. Please check the following code for reference. For rows selection sample code, please check https://www.infallibletechie.com/2023/02/salesforce-lwc-ligh

Salesforce DML Exception Cannot have more than 10 chunks
Exception: System.TypeException: Cannot have more than 10 chunks in a single operation. Please rearrange the data to reduce chunking. This exception is thrown when List sObject variable has more than 10 records of different types in a mixed fashion of mu

Display Error Messages in the Salesforce Visualforce Page
Blog Post: https://www.infallibletechie.com/2012/10/how-to-display-error-messages-in.html