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 |
Field Type: string Description: The description about the disclosure type. |
| disclosureBodyLogo |
Field Type: string Description: The logo ID of the standard body to which an individual or a company is making a disclosure. |
| disclosureBodyUrl |
Field Type: string Description: The URL of the disclosure standard body. |
| disclosureCategory |
Field Type: string Description: Required. The name of the clause category that's used for disclosure. |
| isProtected |
Field Type: boolean Description: An auto-generated value that doesn’t impact the behavior of the metadata type. The default is false. |
| masterLabel |
Field Type: string Description: Required. A user-friendly name for DisclosureType, which is defined when the DisclosureType is created. |
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.