Skip to content

Apex Code Practice

Understand Apex Enum

An enum is a data structure that represents a set of predefined values, where each value is associated with a unique identifier. Enums are commonly used to define a fixed set of possible values. While each value in an enum… Read More »Understand Apex Enum

How to Query External Object in Salesforce?

Introduction Query on external object is supported with some limitation. Here is Salesforce help article: https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_limits.htm Sample Query SELECT Id, Name__c, OrderNumber__c FROM ExternalOrder__x WHERE Name__c LIKE ‘%Software%’ Additional Notes