Professional Documents
Culture Documents
Salesforce Notes
Salesforce Notes
the @AuraEnabled annotation. You can import the @AuraEnabled method to LWC
as a function (shown in line 2). When used with the @wire decorator (line 8), the
component retrieves data via the method.
Wiring client-side to the backend Apex data service is simplified with the
JavaScript decorators (example, @wire decorator we used in the code above)
and built-in modules (@salesforce/apex).
Compact layouts control which fields your users see in the highlights panel at the top
of a record.
Trigger.new contains all the records that were inserted in insert or update triggers
Trigger.old provides the old version of sObjects before they were updated in update
triggers, or a list of deleted sObjects in delete triggers
Figure Error! No text of specified style in document..2 custom detail page link
Figure Error! No text of specified style in document..3 Custom Detail Page Button
There are three primary types of custom buttons and links that you can create.
The Account sObject is an abstraction of the account record and holds the account field
information in memory as an object.
Create and modify records in Salesforce by using the Data Manipulation Language,
abbreviated as DML. DML provides a straightforward way to manage records by providing
simple statements to insert, update, merge, delete, and restore records.
The upsert statement matches the sObjects with existing records by comparing values of
one field. If you don’t specify a field when calling this statement, the upsert statement uses
the sObject’s ID to match the sObject with existing records in Salesforce.
LATER:
APEX TRIGGER
LWC