---
schema_version: "1"
id: 95f1a23a9adec71b01e3cf55b6a5930fadc6fe025b882dece062f677e6f52598
title: AppFrameworkTemplateBundle
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_appframeworktemplatebundle.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_appframeworktemplatebundle.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: dd1f4fb42444983c1e5a45f984d063197ffa3517145c88a100e6ca3231f236b4
description: Represents the app framework template bundle. Use these templates for Data 360 and Tableau Next assets.
---
# AppFrameworkTemplateBundle

Represents the app framework template bundle. Use these templates for Data 360 and Tableau Next assets.

## 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

An app framework template bundle is a folder that contains definition files for a template. Unlike other metadata components, a AppFrameworkTemplateBundle component isn’t represented with a single component file, but instead by a collection of JSON and other definition files. Each definition file represents a resource in a template, such as semantic models, workspaces, visualizations, and dashboards. For example, this directory structure shows the hierarchy of the folders and files for one app framework template definition, myTemplate.

appTemplates
  myTemplate
    template-info.json
    create-chain.json
    rules.json
    variables.json 
    layout.json
    workspaces
      myWorkspace.json
    dashboards
      myDashboard.json

App framework template bundles must be under a top-level folder that’s named appTemplates. Each bundle must have its own subfolder under the appTemplate folder and named with the template's fully qualified API name. The bundle folder must contain a template-info.json file to specify the metadata about the template and the references to other definition files. An entire bundle doesn’t have a suffix and definition files can have one of the these suffixes.

| Suffix | Component Type |
| --- | --- |
| .json | JSON file |
| .html | HTML file |

## Version

AppFrameworkTemplateBundle components are available in API version 64.0 and later.

## Special Access Rules

Create definitions in both managed and unmanaged packages.

## Fields

| Field Name | Description |
| --- | --- |
| assetVersion | 
Field Type

double

Description

The API version of the template bundle.



 |
| description | 

Field Type

string

Description

The description for the template.



 |
| label | 

Field Type

string

Description

Required

The label for the template.



 |
| maxAppCount | 

Field Type

int

Description

The maximum number of apps that can be created from this template.



 |
| templateBadgeIcon | 

Field Type

string

Description

The badge icon for the template. This must be a .png file type.



 |
| templateStatus | 

Field Type

string

Description

The status of the template.



 |
| templateSubtype | 

Field Type

string

Description

The subtype of the template.



 |
| templateType | 

Field Type

string

Description

The type of the template.



 |

## Declarative Metadata Sample Definition

This 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\>myTemplate</members\>
    <name\>AppFrameworkTemplateBundle</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 the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).