What is Wrapper Class and Use of Wrapper Class in Salesforce? A wrapper or container class is a class, a data structure, or an abstract data type whose instances are …
APEX
-
- APEXSALESFORCE
Argument must be an object that implements Database.Batchable in Salesforce Batch Apex Class
Argument must be an object that implements Database.Batchable in Salesforce Batch Apex Class Running below code to Developer Console and its throwing error, ContactEmployeeNumberEmpty testCalc = new ContactEmployeeNumberEmpty(); Database.executebatch(testCalc); Batch …
-
Illegal assignment from String to Decimal in Salesforce Apex Class Error: Illegal assignment from String to Decimal in Salesforce Apex Class if assigning a String value to a Decimal variable …
- APEXConfigurationSALESFORCE
How to Display Month Name based on Created Date Field using Salesforce Formula
How to Display Month Name based on (Created Date) DateTime Field using Salesforce Formula Below is the steps to achieve the Month Name display based on the Date field from …
-
What is WSDL2APEX and Use of WSDL2APEX in Salesforce WSDL2APEX: Apex Classes can be automatically generated from a WSDL document. Use of WSDL2APEX: Developers can be used to invoke the …
- APEXSALESFORCESOQL
SObject row was retrieved via SOQL without querying the requested field in Salesforce
SObject row was retrieved via SOQL without querying the requested field in Salesforce Error: SObject row was retrieved via SOQL without querying the requested field: Contact.Name. Solution: If we used …
-
How do Check the Page Message in Test Code Coverage in Salesforce Apex Class get the list of Messages Using Below Code, Example 1: List<Apexpages.Message> msgs = ApexPages.getMessages(); boolean b …
-
With sharing Keywords in Salesforce: • By default, all Apex executes under the System user, ignoring all CRUD, field-level, and row-level security • However, it is possible to execute Apex …
-
Enum Data Type in Salesforce • Enum (or enumerated list) is an abstract that stores one value of a finite set of specified identifiers. • To define an Enum, use …
-
How to convert from sObject to String using Salesforce Apex Class To convert sObject to String in Apex, below i s the example, Example: public sObject searchContact; String strObjType = …