---
schema_version: "1"
id: 303803d9abf96da2ee5782dcdcd4f5a3671b801fc8abd549fe5df375ba45e074
title: DataKitObjectTemplate
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_datakitobjecttemplate.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_datakitobjecttemplate.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9888533791f63241d34a28e08503cc9593ed3cc09e0dcbba00c35c5461119ed8
description: Represents the object in Data Kit Object Template. These object templates are added inside the data kit.
---
# DataKitObjectTemplate

Represents the object in Data Kit Object Template. These object templates are added inside the data kit.

![Important](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note_important.png)

#### Important

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.

## Parent Type

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata.htm "The base class for all metadata types. You can’t edit this object. A component is an instance of a metadata type.") metadata type and inherits its fullName field.

## File Suffix and Directory Location

DataKitObjectTemplate components have the suffix .DataKitObjectTemplate and are stored in the DataKitObjectTemplate folder.

## Version

DataKitObjectTemplate components are available in API version 63.0 and later.

## Special Access Rules

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

## Fields

| Field Name | Description |
| --- | --- |
| developerName | 
Field Type

string

Description

Required. Name of the data kit object template. This can contain only underscores and alphanumeric characters and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.



 |
| entityPayload | 

Field Type

string

Description

A string-based JSON payload containing the metadata of a data kit component. The payload is templatized to enable variable substitution during the deployment process. Keep the compressed JSON payload under 100 KB. Data 360 automatically compresses the payload before storage. but, compression results vary depending on the structure of the data. A payload that’s under 100 KB before compression can exceed the limit after compression. If the compressed payload exceeds 100 KB, reduce the payload size or split the component.



 |
| masterLabel | 

Field Type

string

Description

Required. The label of the data kit object template.



 |
| parentDataPackageKitDefinitionName | 

Field Type

string

Description

Required. The linked data kit package definition in the data kit.



 |
| sourceObject | 

Field Type

string

Description

The developer name of the source object for the data kit object template.



 |
| sourceObjectType | 

Field Type

string

Description

Required. The object type of the metadata component in the data kit. Valid values are:

- MKT\_DATA\_TRANSFORM
- MKT\_DATA\_CONNECTION
- IDENTITY\_RESOLUTION
- DATA\_GRAPH
- EXT\_DATA\_SHARE
- SEMANTIC\_SEARCH
- DATA\_ACTION
- DATA\_ACTION\_TARGET
- MARKET\_SEGMENT
- DATA\_SPACE\_MEMBER
- INTERNAL\_DATA\_CONNECTOR
- MARKET\_SEGMENT\_ACTIVATION
- STREAMING\_APP\_AND\_INGESTION\_CONNECTOR
- ML\_CONFIGURED\_MODEL
- ACTIVATION\_TARGET
- SEMANTIC\_MODEL
- PERSONALIZATION\_RECOMMENDER
- PERSONALIZATION\_POINT
- PERSONALIZATION\_SCHEMA
- PERSONALIZATION\_OBJECTIVE
- ENGAGEMENT\_SIGNAL
- PERSONALIZATION\_BATCH\_DECISION
- MC\_CONNECTOR
- ML\_PREDICTION\_JOB
- ML\_RETRIEVER
- TUA\_TEMPLATED\_OBJECT
- IR\_RELATED\_LIST\_ENRICHMENT
- TAG\_METADATA
- DATA\_CLEAN\_ROOM\_PROVIDER
- IDP\_CONFIGURATION
- COPY\_FIELD\_ENRICHMENT
- DATA\_CUSTOM\_CODE
- ANALYTICS\_VISUALIZATION
- ANALYTICS\_DASHBOARD
- ANALYTICS\_WORKSPACE
- SECONDARY\_INDEX
- POLICY\_RULE\_DEFINITION\_METADATA
- POLICY\_RULE\_DEFINITION\_SET\_METADATA





 |
| templateVersion | 

Field Type

string

Description

The version number of the template.



 |

## Declarative Metadata Sample Definition

The following is an example of a DataKitObjectTemplate component.

<?xml version="1.0" encoding="UTF-8"?>
<DataKitObjectTemplate xmlns="http://soap.sforce.com/2006/04/metadata">
   <developerName xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
   <entityPayload\>
      {
         "dataSpaceName": "default",
         "type": "DLO",
         "developerName": "DLO\_StaticCurrencyRates\_Home"
      }
   </entityPayload\>
   <masterLabel\>StaticCurrencyRates\_Home\_\_dll</masterLabel\>
   <parentDataPackageKitDefinitionName xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
   <sourceObject\>0viSB00000JzG05YAF</sourceObject\>
   <sourceObjectType\>DataSpaceMember</sourceObjectType\>
   <templateVersion\>1</templateVersion\>
</DataKitObjectTemplate\>

The following is an example package.xml that references the previous definition.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types\>
        <members\>StaticCurrencyRates\_Home</members\>
        <members\>StaticCurrencyRates\_Home1</members\>
        <name\>DataKitObjectTemplate</name\>
    </types\>
    <version\>64.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](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/file_based_zip_file.htm "The deploy() and retrieve() calls are used to deploy and retrieve a .zip file. Within the .zip file is a project manifest (package.xml) that lists what to retrieve or deploy, and one or more XML components that are organized into folders.").