Comprehensive Guide to Apex Programming – Everything You Need to Know

Apex Programming Unveiling the Power of Salesforce Development Apex serves as the object oriented programming language utilized by the Salesforce platform, empowering developers to execute transactions and control statements on Salesforce-associated servers. With a syntax closely resembling Java, Apex provides a familiar programming framework for Salesforce development. Notable Aspects of Apex Programming Key Characteristics of …

Comprehensive Guide to Apex Programming – Everything You Need to Know Read More »

Utilize Apex for knowledge article management

Generate a fresh article. Release a draft article. Withdraw a published article. Arrange the archival of a published article. Please note that if the scheduledDate provided is null, the article will be archived immediately. Revoke the scheduled archival of a published article: Remove an article from the archive: Erase a draft article: Generate a draft …

Utilize Apex for knowledge article management Read More »

Apex Trigger Practice (5) – Rollup Amount from Opportunity to Account

COMPONENTS On Standard Object – Account, there are following fields Total Revenue (Total_Revenue__c) (Number (16,2)) On standard Object Opportunity, which is child of Account Object, there are following fields StageName: Having value “Closed Won” Type: Having values Renewal, Upsell, New Business RenewalAmount__c : (Number (16,2)) UpsellAmount__c : (Number (16,2)) NewBusiness__c : (Number (16,2)) REQUIREMENT For …

Apex Trigger Practice (5) – Rollup Amount from Opportunity to Account Read More »

Apex Trigger Practice (3) – Trigger on Attachments to count the number of attachments

Question Hints: Account is standard object and attachment is child object. Requirement: We need to create an Apex Trigger on Attachments to count the number of attachments on the object – let’s take Account – and store in number field “Number of attachments”. Trigger is considering all the possible scenarios in this – after insert, after …

Apex Trigger Practice (3) – Trigger on Attachments to count the number of attachments Read More »

Apex Trigger Practice (1) – Update Account Open Case Status

Question Hints: Account is parent object of Case. Case’s status field is categorized into two types – Open or closed which can be tracked by field “IsClosed”. Requirement: On Account, there is a checkbox field “Has Open Case”, if there is any open Case under account, this field should be checked. Please make sure all …

Apex Trigger Practice (1) – Update Account Open Case Status Read More »