ProductSpecificationRecType
Parent Type
File Suffix and Directory Location
ProductSpecificationRecType components have the suffix .productSpecificationRecType and are stored in the productSpecificationRecTypes folder.
Version
ProductSpecificationRecType components are available in API version 60.0 and later.
Special Access Rules
Ensure Product Catalog Management is enabled to access this metadata type.
Fields
Field Name | Description |
---|---|
isCommercial |
|
masterLabel |
|
productSpecificationType |
|
recordType |
|
Declarative Metadata Sample Definition
The following is an example of a ProductSpecificationRecType component.
<ProductSpecificationRecType xmlns="http://soap.sforce.com/2006/04/metadata">
<masterLabel>sample</masterLabel>
<recordType>Product2.Offer</recordType>
<productSpecificationType>Placeholder</productSpecificationType>
<isCommercial>true</isCommercial>
</ProductSpecificationRecType>
The following is an example package.xml that references the previous definition.
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>ProductSpecificationRecType</name>
</types>
<types>
<members>*</members>
<name>ProductSpecificationType</name>
</types>
<types>
<members>Product2.Offer</members>
<name>RecordType</name>
</types>
<version>60.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.