Icon
Represents the mapping of custom icons to objects.
This type extends the Metadata metadata type and inherits its fullName field.
Icon components have the suffix .icon and are stored in the icons folder.
Icon components are available in API version 49.0 and later.
To use this metadata type, your Salesforce org must have the Health Cloud or Financial Services Cloud license.
- Field Type: string
- Description: Required. The image file that is mapped to the object. Use the ContentAsset metadata type to hold the icon image referenced in the
imagefield.
- Field Type: string
- Description: Required. A field value in the object. For example, with the
PersonLifeEventobject, possible values forkeycan bebirthday,marriage,childbirth, and so on.
-
Field Type: IconUsageType (enumeration of type string)
-
Description: Required. The object that is mapped to the image.
-
Possible values:
PersonLifeEventInsurancePolicyBusinessMilestoneAssetMilestoneFinancialAccountMilestone
The following is an example of an Icon component.
The following is an example package.xml that references the previous definition.