Blogs

  • How To Access Country & State Picklist Values In Apex

    Description This article gives you sample code to access the state and country pick-list values if it is enabled in your Salesforce org. Solution Makes sure the state and country picklist is enabled in the ORG.  1. Following is the sample code for accessing all the country codes: 2. Following is the sample code for…

    Read more…

  • What do Apex Triggers represent in Salesforce?| Insights from the Developer Guide

    What do triggers entail “Triggers in Apex can be activated to initiate custom actions either prior to or following modifications to Salesforce records, including inserts, updates, or deletions.” What categories of triggers exist in Salesforce There are two trigger categories Trigger Event Categories Syntax for Triggers “What do Trigger Context Variables encompass?” Sequence of Execution…

    Read more…

  • Manage Article in Salesforce using Apex

    Create a new article Publish a draft Article Set a schedule for archiving a published article “Please be aware that if the scheduledDate is left blank or set as null, the article will be archived right away.” Abort the scheduled archiving of a published article Remove an article from the archived section Delete a draft…

    Read more…