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.
DisclosureType
Parent Type
File Suffix and Directory Location
DisclosureType components have the suffix .disclosureType and are stored in the disclosureTypes folder.
Version
DisclosureType components are available in API version 57.0 and later.
Special Access Rules
The DisclosureAndComplianceHubAddOn license is required to access this object along with user access for the Disclosure Compliance Hub permission set license.
Fields
| Field Name | Description |
|---|---|
| description |
|
| disclosureBodyLogo |
|
| disclosureBodyUrl |
|
| disclosureCategory |
|
| isProtected |
|
| masterLabel |
|
Declarative Metadata Sample Definition
The following is an example of a DisclosureType component.
1<?xml version="1.0" encoding="UTF-8"?>
2<DisclosureType
3 xmlns="http://soap.sforce.com/2006/04/metadata">
4 <description>This is ESG Disclosure Type</description>
5 <disclosureBodyLogo>asdf</disclosureBodyLogo>
6 <disclosureCategory>EnvSocGvnc</disclosureCategory>
7 <disclosureBodyUrl>disclosure body url</disclosureBodyUrl>
8 <isProtected>false</isProtected>
9 <masterLabel>ESG</masterLabel>
10</DisclosureType>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package
3 xmlns="http://soap.sforce.com/2006/04/metadata">
4 <fullName>Pkg</fullName>
5 <types>
6 <members>ESG</members>
7 <name>DisclosureType</name>
8 </types>
9 <types>
10 <name>StaticResource</name>
11 <members>asdf</members>
12 </types>
13 <version>57.0</version>
14</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.