DocumentCategoryDocumentType
Parent Type
File Suffix and Directory Location
DocumentCategoryDocumentType components have the suffix .documentCategoryDocumentType and are stored in the documentCategoryDocumentTypes folder.
Version
DocumentCategoryDocumentType components are available in API version 59.0 and later.
Special Access Rules
Fields
Field Name | Description |
---|---|
documentCategory |
|
documentType |
|
isProtected |
|
masterLabel |
|
Declarative Metadata Sample Definition
The following is an example of a DocumentCategoryDocumentType component.
<?xml version="1.0" encoding="UTF-8"?>
<DocumentCategoryDocumentType xmlns="http://soap.sforce.com/2006/04/metadata">
<documentCategory>Address_Proof</documentCategory>
<documentType>Utility_Bill</documentType>
<masterLabel>junction1</masterLabel>
</DocumentCategoryDocumentType>
The following is an example package.xml that references the previous definition.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>DocumentCategory</name>
</types>
<types>
<members>*</members>
<name>DocumentCategoryDocumentType</name>
</types>
<types>
<members>*</members>
<name>DocumentType</name>
</types>
<version>59.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.