Newer Version Available

This content describes an older version of this product. View Latest

DataPackageKitObject

Represents the object in Data Kit Content Object. These objects are added inside the data kit.

Where possible, we changed noninclusive terms to align with our company value of Equality. Because changing terms in our code can break current implementations, we maintained this metadata type’s name.

Important

Parent Type

This type extends the Metadata metadata type and inherits its fullName field.

File Suffix and Directory Location

DataPackageKitObject components have the suffix .DataPackageKitObject and are stored in the DataPackageKitObjects folder.

Version

DataPackageKitDefinition components are available in API version 53.0 and later.

Special Access Rules

There are no additional access requirements that are specific to this type.

Fields

Field Name Description
masterLabel
Field Type
string
Description
Required. Label that identifies the AI application throughout the Salesforce user interface.
parentDataPackageKitDefinitionName
Field Type
string
Description
Required. Name of the data kit definition
referenceObjectName
Field Type
string
Description
Required. The name of the data kit content.
referenceObjectType
Field Type
string
Description
Required. The type of the content object in the data kit.

Declarative Metadata Sample Definition

The following is an example of a DataPackageKitDefinition component.

1<?xml version="1.0" encoding="UTF-8"?>
2<DataPackageKitObject xmlns="http://soap.sforce.com/2006/04/metadata">
3    <masterLabel>CRM</masterLabel>
4    <parentDataPackageKitDefinitionName>CRM</parentDataPackageKitDefinitionName>
5    <referenceObjectName>CRM</referenceObjectName>
6    <referenceObjectType>DLO</referenceObjectType>
7</DataPackageKitObject>

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    <fullName>SalesforceDataKit</fullName>
4    <types>
5        <members>CRM</members>
6        <name>DataPackageKitObject</name>
7    </types>
8    <types>
9        <members>Admin</members>
10        <name>Profile</name>
11    </types>
12    <version>53.0</version>
13</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.