UIBundle
Parent Type
This type extends the Metadata metadata type and inherits its
fullName field.
File Suffix and Directory Location
UIBundle components have the suffix .uibundle-meta.xml and are stored in the uiBundles/your_app folder.
Version
UIBundle components are available in API version 66.0 and later.
Special Access Rules
Ensure that the Salesforce app domain is enabled for your org in React Development with Salesforce Multi-Framework in Setup.
The UIBundle metadata type can contain up to 2,500 files.
Fields
| Field Name | Description |
|---|---|
| description |
|
| isActive |
|
| isProtected |
|
| masterLabel |
|
| target |
|
| version |
|
Declarative Metadata Sample Definition
The following is an example of a UIBundle component.
1<UIBundle xmlns="http://soap.sforce.com/2006/04/metadata">
2 <masterLabel>Customer Portal</masterLabel>
3 <description>Customer self-service portal built with React.</description>
4 <isActive>true</active>
5 <target>Experience</target>
6 <version>1</version>
7</UIBundle>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 <types>
4 <members>*</members>
5 <name>UIBundle</name>
6 </types>
7 <version>66.0</version>
8</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.