The Trailblazer Community in Slack is now in Open Beta—join and connect in real time. [Join us in Slack]
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.
image field.PersonLifeEventobject, possible values for key can be birthday, marriage, childbirth, and so on.Field Type: IconUsageType (enumeration of type string)
Description: Required. The object that is mapped to the image.
Possible values:
PersonLifeEventInsurancePolicyBusinessMilestoneAssetMilestoneFinancialAccountMilestoneThe following is an example of an Icon component.
1<?xml version="1.0" encoding="UTF-8"?>
2<Icon xmlns="http://soap.sforce.com/2006/04/metadata">
3 <usageType>PersonLifeEvent</usageType>
4 <key>Birth</key>
5 <image>image</image>
6</Icon>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>icons</members>
5 <name>Icon</name>
6 </types>
7 <version>49.0</version>
8</Package>