ExpressionSetObjectAlias
Parent Type
File Suffix and Directory Location
ExpressionSetObjectAlias components have the suffix .expressionSetObjectAlias and are stored in the expressionSetObjectAlias folder.
Version
ExpressionSetObjectAlias components are available in API version 56.0 and later.
Fields
Field Name | Description |
---|---|
dataType |
|
mappings |
|
objectApiName |
|
usageType |
|
ExpressionSetObjectAliasField
The fields associated with the source object for which the object alias is created.
Field Name | Description |
---|---|
fieldAlias |
|
sourceFieldName |
|
Declarative Metadata Sample Definition
The following is an example of an ExpressionSetObjectAlias component.
<?xml version="1.0" encoding="UTF-8"?>
<ExpressionSetObjectAlias xmlns="http://soap.sforce.com/2006/04/metadata">
<dataType>sObject</dataType>
<mappings>
<fieldAlias>dum2</fieldAlias>
<sourceFieldName>CreatedBy.Contact.Name</sourceFieldName>
</mappings>
<mappings>
<fieldAlias>dum3</fieldAlias>
<sourceFieldName>CreatedBy.Name</sourceFieldName>
</mappings>
<mappings>
<fieldAlias>dum1</fieldAlias>
<sourceFieldName>Owner.Contact.Name</sourceFieldName>
</mappings>
<objectApiName>Account</objectApiName>
<usageType>Bre</usageType>
</ExpressionSetObjectAlias>
The following is an example package.xml that references the previous definition.
<?xml version="1.0" encoding="UTF-8"?>
<Package
xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>ExpressionSetObjectAlias</name>
</types>
<version>64.0</version>
</Package>
Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.