Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
EmailMergeFieldService Class
Extract a list of merge fields for an object. A merge field is a field you can put in an
email template, mail merge template, custom link, or formula to incorporate values from a
record.
Namespace
EmailMergeFieldService Methods
These methods are for EmailMergeFieldService.
All methods are static.
getMergeFields(objectApiNames)
Extract the merge fields for a specific object.
API Version
39.0
Requires Chatter
No
Signature
public static ConnectApi.EmailMergeFieldInfo getMergeFields(List<String> objectApiNames)
Parameters
- objectApiNames
- Type: List<String>
- The API names for the objects being referenced.