Newer Version Available
UIBundle (Beta)
Parent Type
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
Salesforce Multi-Framework is supported in sandbox and scratch orgs only. To use this feature, your admin must enable React Development with Salesforce Multi-Framework (Beta) 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>AppLauncher</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.